summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-24 14:41:36 +0100
committerterry%mozilla.org <>2000-01-24 14:41:36 +0100
commitca924726d8e692458088267aa5fb36848654fabd (patch)
tree956427344efa23fe3bd2cc4c50eae36f08509550 /CGI.pl
parenta240c91d3276266fb7a43dcbf3158f91494ff313 (diff)
downloadbugzilla-ca924726d8e692458088267aa5fb36848654fabd.tar.gz
bugzilla-ca924726d8e692458088267aa5fb36848654fabd.tar.xz
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.
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl6
1 files changed, 6 insertions, 0 deletions
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{ | <A HREF="showvotes.cgi">My votes</A>};
+ }
my $mybugsurl = PerformSubsts($mybugstemplate, \%substs);
$html = $html . " | <a href='$mybugsurl'>My bugs</a>";
}