Bug 17738: Remove warning about redeclaration of $patron

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>
This commit is contained in:
Jonathan Druart 2017-04-17 09:00:33 -03:00
parent e5929123b9
commit 57ebe9aefc

View file

@ -351,7 +351,6 @@ if ( $borr->{lost} && ($borr->{lost} == 1) ) {
);
}
my $patron = Koha::Patrons->find( $borrowernumber );
if ( $patron->is_debarred ) {
$noreserves = 1;
$template->param(