Bug 15135: Remove Warning Subroutine HasOverdues redefined
In staff client, while displying patron related pages (e.g. moremember.pl) you get a warning like: moremember.pl: Subroutine HasOverdues redefined at /usr/share/kohaclone/Koha/Template/Plugin/Borrowers.pm line 52. This occurs with all pages that have [% USE Borrowers %] in their templates (directly or via members-toolbar.inc) To test: - Go to Home > Patrons > Patron details for.... - Search for warning above in log - Apply patch - Verify that no more warnings appear - Verify that patron pages behave as before (Solution as of comment #18) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Verified that warning disappears with this patch. Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl> Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
372881ebfd
commit
560bc790db
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ use Modern::Perl;
|
|||
use base qw( Template::Plugin );
|
||||
|
||||
use Koha::Borrower::Debarments qw();
|
||||
use C4::Members qw(HasOverdues);
|
||||
use C4::Members qw();
|
||||
|
||||
=pod
|
||||
|
||||
|
|
Loading…
Reference in a new issue