diff --git a/mozilla/webtools/bugzilla/buglist.cgi b/mozilla/webtools/bugzilla/buglist.cgi index 8439ccbbd2f..f2979e21c21 100755 --- a/mozilla/webtools/bugzilla/buglist.cgi +++ b/mozilla/webtools/bugzilla/buglist.cgi @@ -339,7 +339,7 @@ my $tablestart = " foreach my $c (@collist) { if (exists $::needquote{$c}) { if ($::needquote{$c}) { - $tablestart .= "
"; + $tablestart .= ""; } else { $tablestart .= ""; } @@ -377,10 +377,13 @@ while (@row = FetchSQLData()) { pnl ""; pnl "$bug_id "; 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 = "$value";