Bug 17738: Remove warning about redeclaration of $patron
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 Apr 2017 12:00:33 +0000 (09:00 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Jul 2017 16:42:52 +0000 (13:42 -0300)
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
opac/opac-reserve.pl

index 2cf8e59..86582d8 100755 (executable)
@@ -351,7 +351,6 @@ if ( $borr->{lost} && ($borr->{lost} == 1) ) {
     );
 }
 
-my $patron = Koha::Patrons->find( $borrowernumber );
 if ( $patron->is_debarred ) {
     $noreserves = 1;
     $template->param(