summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authormyk%mozilla.org <>2001-09-29 04:17:27 +0200
committermyk%mozilla.org <>2001-09-29 04:17:27 +0200
commitde6d572b8f00f0f8a056cb33e29b99b2bb92214c (patch)
tree8fa501e17b47d73b8b09a5539e83a5e3ef20ec86 /CGI.pl
parentc364f865c1d3d6cdf42aed51f5d6c1b3417a580e (diff)
downloadbugzilla-de6d572b8f00f0f8a056cb33e29b99b2bb92214c.tar.gz
bugzilla-de6d572b8f00f0f8a056cb33e29b99b2bb92214c.tar.xz
Fix for bug 73959: Make buglist.cgi display the "Show Votes" link at the bottom of the screen.
Patch by Jake <jake@acutex.net>. r=myk@mozilla.org, no second review needed.
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/CGI.pl b/CGI.pl
index 7fb0298d8..67cca6f33 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -1296,6 +1296,9 @@ sub DumpBugActivity {
sub GetCommandMenu {
my $loggedin = quietly_check_login();
+ if (!defined $::anyvotesallowed) {
+ GetVersionTable();
+ }
my $html = "";
$html .= <<"--endquote--";
<FORM METHOD=GET ACTION="show_bug.cgi">
@@ -1354,9 +1357,6 @@ Actions:
my $mybugstemplate = Param("mybugstemplate");
my %substs;
$substs{'userid'} = url_quote($::COOKIE{"Bugzilla_login"});
- if (!defined $::anyvotesallowed) {
- GetVersionTable();
- }
$html .= "</TR><TR>";
$html .= "<TD>Preset Queries: </TD>";
$html .= "<TD colspan=3>\n";