diff options
-rwxr-xr-x | sanitycheck.cgi | 2 |
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"); |