mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
merged fix for MDL-7819, admin still showing up in participants list
This commit is contained in:
parent
30a281d3c1
commit
789154a65b
@ -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,";
|
||||
|
Loading…
x
Reference in New Issue
Block a user