diff options
author | 2006-08-12 06:45:07 +0000 | |
---|---|---|
committer | 2006-08-12 06:45:07 +0000 | |
commit | cc69d134483d1e10423475735b1084535dd075b7 (patch) | |
tree | 4e440861d3302bdacea97fd64ae477acf12bd6d8 /votes.cgi | |
parent | Bug 310753: editflagtypes.cgi page fails w3 validation - Patch by victory(_RS... (diff) | |
download | bugzilla-cc69d134483d1e10423475735b1084535dd075b7.tar.gz bugzilla-cc69d134483d1e10423475735b1084535dd075b7.tar.bz2 bugzilla-cc69d134483d1e10423475735b1084535dd075b7.zip |
Bug 348057: Move the checks for bug visibility out of Bugzilla::Bug->new
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'votes.cgi')
-rwxr-xr-x | votes.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -266,7 +266,7 @@ sub record_votes { my %products; # XXX - We really need a $bug->product() method. foreach my $bug_id (@buglist) { - my $bug = new Bugzilla::Bug($bug_id, $who); + my $bug = new Bugzilla::Bug($bug_id); my $prod = $bug->{'product'}; $products{$prod} ||= new Bugzilla::Product({name => $prod}); $prodcount{$prod} ||= 0; |