From dcc09f8e1993b86b2ffd368de20e6c09c83c7eda Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 17 Apr 2017 09:00:33 -0300 Subject: [PATCH] Bug 17738: Remove warning about redeclaration of $patron MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc VĂ©ron Signed-off-by: Kyle M Hall --- opac/opac-reserve.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 2cf8e59..86582d8 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -351,7 +351,6 @@ if ( $borr->{lost} && ($borr->{lost} == 1) ) { ); } -my $patron = Koha::Patrons->find( $borrowernumber ); if ( $patron->is_debarred ) { $noreserves = 1; $template->param( -- 2.10.2