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

Modules whose names are substrings of other chosen modules are considered chosen as well

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.8
    • Component/s: Enrolments
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      This problem appears at page: Administration >> Users >> Enrolment Plugins

      The problem is in using stristr() function in this script:

      /admin/enrol.php:85

      if (stristr($CFG->enrol_plugins_enabled, $module) !== false)

      { $enable .= ' checked="checked"'; }

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              paul Pavel
              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:
                31/Mar/07