diff options
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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>"; } |