From 527bd0664c46fdea4a48bb3e2bf7f96559bf7070 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Fri, 8 Dec 2006 04:26:47 +0000 Subject: [PATCH] fix for MDL-7819, admins still 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 409aece247b..c73a5a638d5 100644 --- a/user/index.php +++ b/user/index.php @@ -343,7 +343,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,";