From ca924726d8e692458088267aa5fb36848654fabd Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Mon, 24 Jan 2000 13:41:36 +0000 Subject: New email code wasn't sending to people who had voted for a bug. Added "My votes" link to footer. Other minor voting-related fixes. --- CGI.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index 8770da748..93c5d544f 100644 --- a/CGI.pl +++ b/CGI.pl @@ -846,6 +846,12 @@ sub GetCommandMenu { my $mybugstemplate = Param("mybugstemplate"); my %substs; $substs{'userid'} = $::COOKIE{"Bugzilla_login"}; + if (!defined $::anyvotesallowed) { + GetVersionTable(); + } + if ($::anyvotesallowed) { + $html .= qq{ | My votes}; + } my $mybugsurl = PerformSubsts($mybugstemplate, \%substs); $html = $html . " | My bugs"; } -- cgit v1.2.3-24-g4f1b