Skip to content

Commit e046c54

Browse files
committed
User group: Fix error in SQL query for the list of classes - refs BT#17545
1 parent 6a314f2 commit e046c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/usergroup.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function get_count($extraWhereCondition = '')
217217
INNER JOIN $this->access_url_rel_usergroup a
218218
ON (u.id = a.usergroup_id)
219219
WHERE access_url_id = $urlId $authorCondition
220-
$extraWhereCondition
220+
AND $extraWhereCondition
221221
";
222222

223223
$result = Database::query($sql);

0 commit comments

Comments
 (0)