From 99c542cd94fb91f9d763be59eeec9140925245ac Mon Sep 17 00:00:00 2001
From: "cyeh%bluemartini.com" <>
Date: Sat, 10 Mar 2001 13:52:54 +0000
Subject: [PATCH] fix for "My Votes" floating in space like a disconnected
astronaut
---
CGI.pl | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
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{