]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix perl warning.
authorterry%mozilla.org <>
Wed, 20 Oct 1999 21:12:43 +0000 (21:12 +0000)
committerterry%mozilla.org <>
Wed, 20 Oct 1999 21:12:43 +0000 (21:12 +0000)
showvotes.cgi

index 1d03ae19107d64faba0108c20968ef7878964f90..0ab22ac7fa88a5072c22cae87518dea9fc4e8a3c 100755 (executable)
@@ -80,6 +80,9 @@ if (defined $::FORM{'bug_id'}) {
         print "<tr><th>$product</th></tr>";
         while (MoreSQLData()) {
             my ($id, $count, $summary, $status) = (FetchSQLData());
+            if (!defined $status) {
+                next;
+            }
             my $opened = ($status eq "NEW" || $status eq "ASSIGNED" ||
                           $status eq "REOPENED");
             my $strike = $opened ? "" : "<strike>";