From: myk%mozilla.org <> Date: Sat, 29 Sep 2001 02:17:27 +0000 (+0000) Subject: Fix for bug 73959: Make buglist.cgi display the "Show Votes" link at the bottom of... X-Git-Tag: bugzilla-2.14.1~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de6d572b8f00f0f8a056cb33e29b99b2bb92214c;p=thirdparty%2Fbugzilla.git Fix for bug 73959: Make buglist.cgi display the "Show Votes" link at the bottom of the screen. Patch by Jake . r=myk@mozilla.org, no second review needed. --- diff --git a/CGI.pl b/CGI.pl index 7fb0298d8d..67cca6f330 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--";
@@ -1354,9 +1357,6 @@ Actions: my $mybugstemplate = Param("mybugstemplate"); my %substs; $substs{'userid'} = url_quote($::COOKIE{"Bugzilla_login"}); - if (!defined $::anyvotesallowed) { - GetVersionTable(); - } $html .= ""; $html .= "Preset Queries: "; $html .= "\n";