]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Old values for the column-header-cookie could cause problems when trying to tweak...
authorterry%netscape.com <>
Fri, 11 Dec 1998 03:41:30 +0000 (03:41 +0000)
committerterry%netscape.com <>
Fri, 11 Dec 1998 03:41:30 +0000 (03:41 +0000)
buglist.cgi

index 8439ccbbd2fd08d26167fc7b5510b305b15ce82c..f2979e21c21867dbfff5c7c0dc88ccd2cc634cec 100755 (executable)
@@ -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>";