diff options
Diffstat (limited to 'bug_form.pl')
-rw-r--r-- | bug_form.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bug_form.pl b/bug_form.pl index db09d8d58..65c7b41c1 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -157,7 +157,8 @@ sub show_bug { $bug{'milestoneurl'} = $::milestoneurl{$bug{'product'}} || "notargetmilestone.html"; - $vars->{'use_votes'} = $::prodmaxvotes{$bug{'product'}}; + $vars->{'use_votes'} = Param('usevotes') + && $::prodmaxvotes{$bug{'product'}} > 0; # Add additional, calculated fields to the bug hash if (@::legal_keywords) { |