Bug 8826 - Initialization of hash triggers error log entries.
Changed:
our %renew_failed = {};
To:
our %renew_failed = ();
This prevents an error log about Reference found where
even-sized list expected.
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
4e0af00bfa
commit
d392831756
|
|
@ -94,7 +94,7 @@ 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 $findborrower = $query->param('findborrower');
|
||||
|
|
|
|||
Loading…
Reference in New Issue