diff --git a/mozilla/webtools/bugzilla/showvotes.cgi b/mozilla/webtools/bugzilla/showvotes.cgi index 1d03ae19107..0ab22ac7fa8 100755 --- a/mozilla/webtools/bugzilla/showvotes.cgi +++ b/mozilla/webtools/bugzilla/showvotes.cgi @@ -80,6 +80,9 @@ if (defined $::FORM{'bug_id'}) { print "$product"; 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 ? "" : "";