Old values for the column-header-cookie could cause problems when trying to tweak several bugs at once.

This commit is contained in:
terry%netscape.com 1998-12-10 19:41:30 +00:00
Родитель 0bd4c249b6
Коммит 490f37a111
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -339,7 +339,7 @@ my $tablestart = "<TABLE CELLSPACING=0 CELLPADDING=2>
foreach my $c (@collist) { foreach my $c (@collist) {
if (exists $::needquote{$c}) { if (exists $::needquote{$c}) {
if ($::needquote{$c}) { if ($::needquote{$c}) {
$tablestart .= "<TH WIDTH=100% valigh=left>"; $tablestart .= "<TH WIDTH=100% valign=left>";
} else { } else {
$tablestart .= "<TH valign=left>"; $tablestart .= "<TH valign=left>";
} }
@ -377,10 +377,13 @@ while (@row = FetchSQLData()) {
pnl "<A HREF=\"show_bug.cgi?id=$bug_id\">"; pnl "<A HREF=\"show_bug.cgi?id=$bug_id\">";
pnl "$bug_id</A> "; pnl "$bug_id</A> ";
foreach my $c (@collist) { foreach my $c (@collist) {
if (!exists $::needquote{$c}) {
next;
}
my $value = shift @row; my $value = shift @row;
my $nowrap = ""; my $nowrap = "";
if (exists $::needquote{$c} && $::needquote{$c}) { if ($::needquote{$c}) {
$value = html_quote($value); $value = html_quote($value);
} else { } else {
$value = "<nobr>$value</nobr>"; $value = "<nobr>$value</nobr>";