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

overwritten variable on sync_enrolments (ext. db enrolment plugin) makes to loose users id's to sincronize.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 2.0
    • None
    • Enrolments
    • MOODLE_20_STABLE

    Description

      On external db enrolment plugin library (/moodledirectory/enrol/database/lib.php), on line 365, code overwrite an existing variable which have a users id array used to sincronize.
      Result: This makes plugin can't do enrolments and php crash for incompatible types.
      Possible solution: rename this variable on the nested loop enviroment (it's a while).

      Attachments

        Activity

          People

            skodak Petr Skoda
            keroppi Jordi Martínez
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: