From 57ebe9aefcfc77dbc79b671eb98e1ee997d07d4a 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=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc Véron Signed-off-by: Kyle M Hall Signed-off-by: Marcel de Rooy --- opac/opac-reserve.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 2cf8e5973f..86582d86c7 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.39.2