From 1d585dd9726e3831cfcb92d5288868ec9ccb1ea8 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 --- 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