From 9bb8a7b6c97b64efa4151d4d8674d12fc09174e9 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 --- 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.1.4