diff --git a/circ/circulation.pl b/circ/circulation.pl index b051281d21..2a6214a537 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -94,11 +94,11 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( my $branches = GetBranches(); my @failedrenews = $query->param('failedrenew'); # expected to be itemnumbers -our %renew_failed = {}; +our %renew_failed = (); for (@failedrenews) { $renew_failed{$_} = 1; } my @failedreturns = $query->param('failedreturn'); -our %return_failed = {}; +our %return_failed = (); for (@failedreturns) { $return_failed{$_} = 1; } my $findborrower = $query->param('findborrower');