]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 73959: Make buglist.cgi display the "Show Votes" link at the bottom of...
authormyk%mozilla.org <>
Sat, 29 Sep 2001 02:17:27 +0000 (02:17 +0000)
committermyk%mozilla.org <>
Sat, 29 Sep 2001 02:17:27 +0000 (02:17 +0000)
Patch by Jake <jake@acutex.net>.
r=myk@mozilla.org, no second review needed.

CGI.pl

diff --git a/CGI.pl b/CGI.pl
index 7fb0298d8de567db8e373c0a686878e74bc4879d..67cca6f330590f97e8bceeecc1238e06a2d990a9 100644 (file)
--- 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";