From 38553f975441054b7feb65769c516c15556fe091 Mon Sep 17 00:00:00 2001 From: mattc-catalyst Date: Mon, 27 Aug 2007 03:54:59 +0000 Subject: [PATCH] MDL-10888: groupings - fix SQL error --- lib/accesslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 427747de71..b5ebc8e38f 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -3728,7 +3728,7 @@ function get_users_by_capability($context, $capability, $fields='', $sort='', if ($useviewallgroups) { $viewallgroupsusers = get_users_by_capability($context, - 'moodle/site:accessallgroups', 'u.id, u,id', '', '', '', '', $exceptions); + 'moodle/site:accessallgroups', 'u.id, u.id', '', '', '', '', $exceptions); $groupsql = ' AND (' . $grouptest . ' OR ra.userid IN (' . implode(',', array_keys($viewallgroupsusers)) . '))'; } else { -- 2.39.5