[Koha-bugs] [Bug 15217] variables declared twice in in catalogue/search.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 30 03:38:12 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15217

Brendan Gallagher <brendan at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45208|0                           |1
        is obsolete|                            |

--- Comment #5 from Brendan Gallagher <brendan at bywatersolutions.com> ---
Created attachment 46056
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46056&action=edit
Bug 15217 Remove redundant duplicate var declaration

remove superfluous second declaration of template, borrowernumber and
cookie which are never used

Also removed the variables @results and @results_array which are
declared but not used

Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
  As suggested by Colin, perl -wc catalogue/search.pl doesn't complain
  anymore after applying the patch. perlcritic confirms the 2 variables
  were unused.

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list