Merge branch 'w32_MDL-41002_m25_enroltypo' of https://github.com/skodak/moodle into MOODLE_25_STABLE
This commit is contained in:
+1
-1
@@ -913,7 +913,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user