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

limitfrom, limitnumber addition to get_enrolled_users/get_enrolled_users_with_capability missed a break

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.4, 2.6.1, 2.7
    • Fix Version/s: 2.5.5, 2.6.2
    • Component/s: Web Services
    • Labels:

      Description

      'limitfrom' and 'limitnumber' options were added in commit 3ed74dd1 in enrol/externallib.php line 116. This added two cases to switch but only one break; As a result 'userfields' case now misses a break and if userfields option is used in addition to limitfrom the limitfrom will get value 0 every time.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Mar/14