From: terry%mozilla.org <> Date: Fri, 22 Oct 1999 01:19:48 +0000 (+0000) Subject: Fix perl warning. X-Git-Tag: bugzilla-2.8~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27ab4a8d72162df6a62a5d4526db342326f90167;p=thirdparty%2Fbugzilla.git Fix perl warning. --- diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 0f89b2543a..6619c85d34 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");