From: toyomoyo Date: Fri, 8 Dec 2006 04:28:58 +0000 (+0000) Subject: merged fix for MDL-7819, admin still showing up in participants list X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=789154a65b075e7566091ed07d80a51a524fd1dc;p=moodle.git merged fix for MDL-7819, admin still showing up in participants list --- diff --git a/user/index.php b/user/index.php index ba4f17a2e6..4ea5982093 100644 --- a/user/index.php +++ b/user/index.php @@ -341,7 +341,7 @@ // excluse users with these admin role assignments if ($doanythingroles) { - $adminroles = 'AND r.id NOT IN ('; + $adminroles = 'AND r.roleid NOT IN ('; foreach ($doanythingroles as $aroleid=>$role) { $adminroles .= "$aroleid,";