fix for MDL-7819, admins still in participants list

This commit is contained in:
toyomoyo
2006-12-08 04:26:47 +00:00
parent 6285e5af65
commit 527bd0664c
+1 -1
View File
@@ -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,";