summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi3
1 files changed, 3 insertions, 0 deletions
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]));