From: cyeh%bluemartini.com <> Date: Sat, 10 Mar 2001 13:52:54 +0000 (+0000) Subject: fix for "My Votes" floating in space like a disconnected astronaut X-Git-Tag: bugzilla-2.12~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99c542cd94fb91f9d763be59eeec9140925245ac;p=thirdparty%2Fbugzilla.git fix for "My Votes" floating in space like a disconnected astronaut --- diff --git a/CGI.pl b/CGI.pl index c557473a83..091055dd73 100644 --- a/CGI.pl +++ b/CGI.pl @@ -1073,7 +1073,13 @@ Actions: $html .= qq{
bug \# }; - $html .= " | Reports\n"; + $html .= " | Reports"; + if ($loggedin) { + if ($::anyvotesallowed) { + $html .= " | My votes"; + } + } + $html .= "\n"; if ($loggedin) { #a little mandatory SQL, used later on SendSQL("SELECT mybugslink, userid, blessgroupset FROM profiles " . @@ -1108,9 +1114,6 @@ Actions: if (!defined $::anyvotesallowed) { GetVersionTable(); } - if ($::anyvotesallowed) { - $html .= qq{
My votes}; - } $html .= ""; $html .= "Preset Queries: "; $html .= "\n";