merged fix for MDL-7819, admin still showing up in participants list

This commit is contained in:
toyomoyo 2006-12-08 04:28:58 +00:00
parent 30a281d3c1
commit 789154a65b

View File

@ -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,";