diff options
author | mkanat%bugzilla.org <> | 2006-08-17 04:23:15 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-08-17 04:23:15 +0000 |
commit | bc14d44121e7ffb9bef3ba421d7ff64c96f5f2d0 (patch) | |
tree | cbb21d4ed30050673436714ead31c6399b47d9d2 /votes.cgi | |
parent | Bug 241195: Add a short text at the top of request.cgi explaining what the di... (diff) | |
download | bugzilla-bc14d44121e7ffb9bef3ba421d7ff64c96f5f2d0.tar.gz bugzilla-bc14d44121e7ffb9bef3ba421d7ff64c96f5f2d0.tar.bz2 bugzilla-bc14d44121e7ffb9bef3ba421d7ff64c96f5f2d0.zip |
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}; |