]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 343699: votes.cgi: Reference found where even-sized list expected - Patch by...
authorlpsolit%gmail.com <>
Thu, 6 Jul 2006 08:49:40 +0000 (08:49 +0000)
committerlpsolit%gmail.com <>
Thu, 6 Jul 2006 08:49:40 +0000 (08:49 +0000)
votes.cgi

index 7e72bfcd36bb0ac9dba43769569ec967975853b3..6f01f63452d1a3c2f74819f3d00390fb327f11be 100755 (executable)
--- a/votes.cgi
+++ b/votes.cgi
@@ -259,7 +259,7 @@ sub record_votes {
     # the ballot box.
     if (scalar(@buglist)) {
         my %prodcount;
-        my %products = {};
+        my %products;
         # XXX - We really need a $bug->product() method.
         foreach my $bug_id (@buglist) {
             my $bug = new Bugzilla::Bug($bug_id, $who);