summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-12-11 04:41:30 +0100
committerterry%netscape.com <>1998-12-11 04:41:30 +0100
commit365c07a3bfb3d5008d10352778cc810b8bb6b034 (patch)
treed92c1d9cb873aa01bfa82c383c21e14ba0eb9576 /buglist.cgi
parent83f520e74861ca9ae36d13b9d957ea1872531d01 (diff)
downloadbugzilla-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.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi7
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>";