Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9102

Bug with ldap\enrol.php check_legacy_config()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8, 1.9
    • 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.

        Gliffy Diagrams

          Activity

          Hide
          danmarsden Dan Marsden added a comment -

          fixed in 1.8 and HEAD

          Show
          danmarsden Dan Marsden added a comment - fixed in 1.8 and HEAD

            People

            • Assignee:
              danmarsden Dan Marsden
              Reporter:
              danmarsden Dan Marsden
              Tester:
              Nobody
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/07