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

Error in function call in ldap/enrol.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: Enrolments
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      In the file: moodle/enrol/ldap/enrol.php at line nr: 612 the function call is spelled wrongly.
      This results in automatic enrolment and coursecreation from ldap to malfunction.

      The line reads:

      $course = addsleashes_recursive($course);

      When changed to:

      $course = addslashes_recursive($course);

      Everything works perfectly!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              svante Svante Agnestig
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jun/07