diff options
author | terry%netscape.com <> | 1998-12-11 04:41:30 +0100 |
---|---|---|
committer | terry%netscape.com <> | 1998-12-11 04:41:30 +0100 |
commit | 365c07a3bfb3d5008d10352778cc810b8bb6b034 (patch) | |
tree | d92c1d9cb873aa01bfa82c383c21e14ba0eb9576 | |
parent | 83f520e74861ca9ae36d13b9d957ea1872531d01 (diff) | |
download | bugzilla-365c07a3bfb3d5008d10352778cc810b8bb6b034.tar.gz bugzilla-365c07a3bfb3d5008d10352778cc810b8bb6b034.tar.xz |
Old values for the column-header-cookie could cause problems when trying to tweak several bugs at once.
-rwxr-xr-x | buglist.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi index 8439ccbbd..f2979e21c 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -339,7 +339,7 @@ my $tablestart = "<TABLE CELLSPACING=0 CELLPADDING=2> foreach my $c (@collist) { if (exists $::needquote{$c}) { if ($::needquote{$c}) { - $tablestart .= "<TH WIDTH=100% valigh=left>"; + $tablestart .= "<TH WIDTH=100% valign=left>"; } else { $tablestart .= "<TH valign=left>"; } @@ -377,10 +377,13 @@ while (@row = FetchSQLData()) { pnl "<A HREF=\"show_bug.cgi?id=$bug_id\">"; pnl "$bug_id</A> "; foreach my $c (@collist) { + if (!exists $::needquote{$c}) { + next; + } my $value = shift @row; my $nowrap = ""; - if (exists $::needquote{$c} && $::needquote{$c}) { + if ($::needquote{$c}) { $value = html_quote($value); } else { $value = "<nobr>$value</nobr>"; |