Skip to content

Commit c8f638b

Browse files
committed
Usergroup: fix query for access url - refs BT#17545
1 parent 2e4f679 commit c8f638b

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)