Bug 12282 - General summary reports. Patch by gerv; r=joel.
git-svn-id: svn://10.0.0.236/trunk@130413 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -813,6 +813,10 @@ sub init {
|
||||
$suppseen{$str} = 1;
|
||||
}
|
||||
}
|
||||
|
||||
# Make sure we create a legal SQL query.
|
||||
@andlist = ("1 = 1") if !@andlist;
|
||||
|
||||
my $query = ("SELECT DISTINCT " .
|
||||
join(', ', @fields) .
|
||||
", COUNT(DISTINCT ugmap.group_id) AS cntuseringroups, " .
|
||||
|
||||
Reference in New Issue
Block a user