summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-22 03:19:48 +0200
committerterry%mozilla.org <>1999-10-22 03:19:48 +0200
commit27ab4a8d72162df6a62a5d4526db342326f90167 (patch)
tree8dad0bd13559eebb5900fd18680cfa5e9098f768
parentf94f7e64e1b40dd82a10f6df50caa71fdf5ef6f0 (diff)
downloadbugzilla-27ab4a8d72162df6a62a5d4526db342326f90167.tar.gz
bugzilla-27ab4a8d72162df6a62a5d4526db342326f90167.tar.xz
Fix perl warning.
-rwxr-xr-xsanitycheck.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 0f89b2543..6619c85d3 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -87,7 +87,7 @@ while (my $bit = FetchOneColumn()) {
SendSQL("select sum(bit) from groups where isbuggroup != 0");
my $buggroupset = FetchOneColumn();
-if ($buggroupset eq "") {
+if (!defined $buggroupset || $buggroupset eq "") {
$buggroupset = 0;
}
SendSQL("select bug_id, groupset from bugs where groupset & $buggroupset != groupset");