From fd4ff1a62c3c65dcb88589e708dc3be5738f7890 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Wed, 10 Jul 2002 07:05:34 +0000 Subject: Bug 150829 - 'My Votes' link missing from footer r=myk, jouni --- bug_form.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bug_form.pl') 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) { -- cgit v1.2.3-24-g4f1b