mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
Merge branch 'w32_MDL-41002_m26_enroltypo' of https://github.com/skodak/moodle
This commit is contained in:
commit
5261f26e0e
@ -960,7 +960,7 @@ class course_enrolment_manager {
|
||||
if (strpos($userrole->component, 'enrol_') === 0) {
|
||||
$plugin = substr($userrole->component, 6);
|
||||
if (isset($plugins[$plugin])) {
|
||||
$changeable = !$plugin[$plugin]->roles_protected();
|
||||
$changeable = !$plugins[$plugin]->roles_protected();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user