Commit de6d572b authored by myk%mozilla.org's avatar myk%mozilla.org

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.
parent c364f865
...@@ -1296,6 +1296,9 @@ sub DumpBugActivity { ...@@ -1296,6 +1296,9 @@ sub DumpBugActivity {
sub GetCommandMenu { sub GetCommandMenu {
my $loggedin = quietly_check_login(); my $loggedin = quietly_check_login();
if (!defined $::anyvotesallowed) {
GetVersionTable();
}
my $html = ""; my $html = "";
$html .= <<"--endquote--"; $html .= <<"--endquote--";
<FORM METHOD=GET ACTION="show_bug.cgi"> <FORM METHOD=GET ACTION="show_bug.cgi">
...@@ -1354,9 +1357,6 @@ Actions: ...@@ -1354,9 +1357,6 @@ Actions:
my $mybugstemplate = Param("mybugstemplate"); my $mybugstemplate = Param("mybugstemplate");
my %substs; my %substs;
$substs{'userid'} = url_quote($::COOKIE{"Bugzilla_login"}); $substs{'userid'} = url_quote($::COOKIE{"Bugzilla_login"});
if (!defined $::anyvotesallowed) {
GetVersionTable();
}
$html .= "</TR><TR>"; $html .= "</TR><TR>";
$html .= "<TD>Preset Queries: </TD>"; $html .= "<TD>Preset Queries: </TD>";
$html .= "<TD colspan=3>\n"; $html .= "<TD colspan=3>\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment