summaryrefslogtreecommitdiffstats
path: root/showvotes.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showvotes.cgi')
-rwxr-xr-xshowvotes.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/showvotes.cgi b/showvotes.cgi
index 1d03ae191..0ab22ac7f 100755
--- a/showvotes.cgi
+++ b/showvotes.cgi
@@ -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>";