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.
This commit is contained in:
myk%mozilla.org 2001-09-28 19:17:27 +00:00
parent adc7b7820b
commit 8b1f97bb8e

View File

@ -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";