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

enrol_plugin::set_config() method uses wrong name when setting the value (with patch)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Enrolments
    • Labels:
      None
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      enrol_plugin::set_config() method overwrites the setting name with the plugin name, and writes the wrong setting in the plugin config table (leaving the original setting untouched).

      The attached patch fixes the issue;

      Saludos.
      Iñaki.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            iarenaza Iñaki Arenaza
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10