From a8c1b9f56be3f2f65095182591828f16bc6d67c7 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Tue, 12 Oct 1999 23:52:25 +0000 Subject: Patch by tom@platte.com (Tom Schutter) -- wasn't working if no groups had isbuggroup set. --- sanitycheck.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sanitycheck.cgi') diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 0805f063a..0f89b2543 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -87,6 +87,9 @@ while (my $bit = FetchOneColumn()) { SendSQL("select sum(bit) from groups where isbuggroup != 0"); my $buggroupset = FetchOneColumn(); +if ($buggroupset eq "") { + $buggroupset = 0; +} SendSQL("select bug_id, groupset from bugs where groupset & $buggroupset != groupset"); while (@row = FetchSQLData()) { Alert("Bad groupset $row[1] found in bug " . BugLink($row[0])); -- cgit v1.2.3-24-g4f1b