From 657b39198d11c07d9bffb4ca30d8cbf24cde277c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Thu, 5 Nov 2015 11:01:41 +0100 Subject: [PATCH] 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 Signed-off-by: Frederic Demians Works as described --- Koha/Template/Plugin/Borrowers.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Koha/Template/Plugin/Borrowers.pm b/Koha/Template/Plugin/Borrowers.pm index 3e2c59b..f267bad 100644 --- a/Koha/Template/Plugin/Borrowers.pm +++ b/Koha/Template/Plugin/Borrowers.pm @@ -23,7 +23,6 @@ use Modern::Perl; use base qw( Template::Plugin ); use Koha::Borrower::Debarments qw(); -use C4::Members qw(HasOverdues); =pod -- 2.6.2