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

coding error in enrol/locallib.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5.2
    • 2.5.1
    • Enrolments
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • w32_MDL-41002_m26_enroltypo
    • Hide

      1/ create course
      2/ enrol users via different methods (both that protect and not protect the roles)
      3/ try to assign roles to other users
      4/ enrol users that got the roles only

      Show
      1/ create course 2/ enrol users via different methods (both that protect and not protect the roles) 3/ try to assign roles to other users 4/ enrol users that got the roles only

      function get_other_users_for_display()
      line 916: $changeable = !$plugin[$plugin]->roles_protected();

      should be: $changeable = !$plugins[$plugin]->roles_protected();

      otherwise you only get a blank page when going to enrol/otherusers.php?id=XXX in a course where you have assigned roles without enrolment

            skodak Petr Skoda
            nscbrandb Bernhard Brandstetter
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.