Bugzilla – Attachment 12544 Details for
Bug 8826
Initialization of hash triggers error log entries.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Changed {} to () in initialization of variable. (3.8.x)
0001-Bug-8826-Initialization-of-hash-triggers-error-log-e.patch (text/plain), 999 bytes, created by
Mark Tompsett
on 2012-09-27 08:01:39 UTC
(
hide
)
Description:
Changed {} to () in initialization of variable. (3.8.x)
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2012-09-27 08:01:39 UTC
Size:
999 bytes
patch
obsolete
>From 115411cdd0273090aea4bfee4b0e5c8d50384f41 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 27 Sep 2012 15:28:43 +0800 >Subject: [PATCH] Bug 8826 - Initialization of hash triggers error log > entries. >Content-Type: text/plain; charset="utf-8" > >Changed: >our %renew_failed = {}; >To: >our %renew_failed = (); >This prevents an error log of Reference found where even-sized >list expected. >--- > circ/circulation.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 7b388ce..9540e3c 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -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'); >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8826
:
12543
| 12544 |
12581
|
12582
|
13165