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
Родитель 1b82b56dc3
Коммит 1a40034281
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

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