Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Component/s: Enrolments
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
I get the error:
Fatal error: Cannot access empty property in \lib\moodlelib.php on line 680
incorrect call of unset_config() in check_legacy_config()
should be:
unset_config('enrol_ldap_student_contexts');
not:
unset_config($CFG->enrol_ldap_student_contexts);
also appears in a couple of other instances on the page.