From 789154a65b075e7566091ed07d80a51a524fd1dc Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Fri, 8 Dec 2006 04:28:58 +0000 Subject: [PATCH] merged fix for MDL-7819, admin still showing up in participants list --- user/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,"; -- 2.39.5