summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-07-10 09:05:34 +0200
committerbbaetz%student.usyd.edu.au <>2002-07-10 09:05:34 +0200
commitfd4ff1a62c3c65dcb88589e708dc3be5738f7890 (patch)
treeef53ec9b3be5bf6e5f83f6eb786f29e0b7b8650d /bug_form.pl
parent2a609ad58ffde7e3b03b3fb576c0012e99beba55 (diff)
downloadbugzilla-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.pl3
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) {