[Koha-bugs] [Bug 15135] Remove Warning Subroutine HasOverdues redefined
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 30 14:49:10 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15135
--- Comment #8 from Marc Véron <veron at veron.ch> ---
Created attachment 46083
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46083&action=edit
Bug 15135: Get rid of Warning 'Subroutine HasOverdues redefined'
This patch renames the subroutine HasOverdues to WithOverdues in
Koha/Template/Plugin/Borrowers.pm and in members-toolbar.inc (only
place where it is used).
To test:
- First test without patch
- Search for a patron with overdues (I used the 'Overdues' report
on page Home > Cirulation
- Display detail page, open drop down tool 'Print'. Verify that you have
an item 'Print overdues'
- Apply patch
- Repeat steps above. Verify that the item 'Print overdues' still
appears
- Search for remaining occurences of HasOverdues in template files / template
includes with git grep 'Patrons.HasOverdues'. There should not be any
occurences.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list