mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
merged fix for MDL-7819, admin still showing up in participants list
This commit is contained in:
parent
30a281d3c1
commit
789154a65b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue