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

Quotes in Enrollment key means it never allows enrolment

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.4.3
    • 1.9, 2.0
    • Enrolments
    • None
    • Linux
    • Any
    • MOODLE_14_STABLE
    • 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

            poltawski Dan Poltawski
            imported Imported
            Nobody Nobody
            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:
              3/Mar/08