[Koha-bugs] [Bug 15135] Remove Warning Subroutine HasOverdues redefined
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 1 03:44:34 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15135
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #46083|0 |1
is obsolete| |
--- Comment #10 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 46166
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46166&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.
Signed-off-by: Chris <chris at bigballofwax.co.nz>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list