Fix for bug 104180 -   should only be used in the display for a saved query w/a space, not in the URL.

Patch by Christian Reis <kiko@async.com.br>
r= jake@acutex.net
This commit is contained in:
jake%acutex.net 2001-10-11 19:51:33 +00:00
parent 3e134016aa
commit c99b12f635

View File

@ -1395,11 +1395,12 @@ Edit <a href="userprefs.cgi">prefs</a>
my $anynamedqueries = 0;
while (MoreSQLData()) {
my ($name) = (FetchSQLData());
my $disp_name = $name;
$disp_name =~ s/ /&nbsp;/g;
if ($anynamedqueries || $mybugslink) { $html .= " | " }
$anynamedqueries = 1;
$name =~ s/ /&nbsp;/g;
$html .= "<A HREF=\"buglist.cgi?cmdtype=runnamed&amp;namedcmd=" .
url_quote($name) . "\">$name</A>\n";
url_quote($name) . "\">$disp_name</A>\n";
}
$html .= "</TD></TR>\n";
} else {