summaryrefslogtreecommitdiffstats
path: root/showvotes.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-20 23:12:43 +0200
committerterry%mozilla.org <>1999-10-20 23:12:43 +0200
commit2911603c213f06ebf23d1610b4af23c39a22cbf6 (patch)
treee9f612a96531c9a3615410c58d4d9874cde25250 /showvotes.cgi
parentdb3478cb179febf37785ff26a486f7a0e5d2cb4e (diff)
downloadbugzilla-2911603c213f06ebf23d1610b4af23c39a22cbf6.tar.gz
bugzilla-2911603c213f06ebf23d1610b4af23c39a22cbf6.tar.xz
Fix perl warning.
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>";