diff --git a/lib/WebGUI/Grouping.pm b/lib/WebGUI/Grouping.pm index ef449a65e..4b692e9db 100755 --- a/lib/WebGUI/Grouping.pm +++ b/lib/WebGUI/Grouping.pm @@ -328,7 +328,7 @@ sub getUsersInGroup { $clause .= " OR (groupId = ".quote($groupId)." AND expireDate > ".time().") "; } } else { - $clause .= " OR groupId IN (".quoteAndJoin(',',@$groups).")"; + $clause .= " OR groupId IN (".quoteAndJoin($groups).")"; } } }