diff options
author | mkanat%bugzilla.org <> | 2006-08-17 06:23:15 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-08-17 06:23:15 +0200 |
commit | bc14d44121e7ffb9bef3ba421d7ff64c96f5f2d0 (patch) | |
tree | cbb21d4ed30050673436714ead31c6399b47d9d2 /votes.cgi | |
parent | b0f0bf66946233f7ccfd10da68cbe1be645b8b16 (diff) | |
download | bugzilla-bc14d44121e7ffb9bef3ba421d7ff64c96f5f2d0.tar.gz bugzilla-bc14d44121e7ffb9bef3ba421d7ff64c96f5f2d0.tar.xz |
Bug 341933: Make bug object creation much lighter
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'votes.cgi')
-rwxr-xr-x | votes.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ sub record_votes { # XXX - We really need a $bug->product() method. foreach my $bug_id (@buglist) { my $bug = new Bugzilla::Bug($bug_id); - my $prod = $bug->{'product'}; + my $prod = $bug->product; $products{$prod} ||= new Bugzilla::Product({name => $prod}); $prodcount{$prod} ||= 0; $prodcount{$prod} += $votes{$bug_id}; |