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

Quotes in Enrollment key means it never allows enrolment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.9, 2.0
    • Component/s: Enrolments
    • Labels:
      None
    • Environment:
      Linux
    • Database:
      Any
    • Affected Branches:
      MOODLE_14_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      If you have an enrolment key with a % in it then the page to enrol students on a course

      /moodle/course/student.php?id=..

      will give:

      warning: sprintf() too few arguments in /var/www/html/moodle/lib/moodlelib.php(2217): eval()'d code on line 1.

      Enrolment key should have a restricted set of characters (excluding %, $ etc)

        Attachments

          Activity

            People

            Assignee:
            poltawski Dan Poltawski
            Reporter:
            imported Imported
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08