diff options
author | bbaetz%student.usyd.edu.au <> | 2002-07-10 09:05:34 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-07-10 09:05:34 +0200 |
commit | fd4ff1a62c3c65dcb88589e708dc3be5738f7890 (patch) | |
tree | ef53ec9b3be5bf6e5f83f6eb786f29e0b7b8650d /bug_form.pl | |
parent | 2a609ad58ffde7e3b03b3fb576c0012e99beba55 (diff) | |
download | bugzilla-fd4ff1a62c3c65dcb88589e708dc3be5738f7890.tar.gz bugzilla-fd4ff1a62c3c65dcb88589e708dc3be5738f7890.tar.xz |
Bug 150829 - 'My Votes' link missing from footer
r=myk, jouni
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) { |