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

Choice doesn't like 1 or 0 as choice text

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: Choice
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      If you use the single digit 1 (one) as the text for any of the choice options then, the option text will not be displayed above the users who selected it.

      This happens both if you make the responses public to the user, and when the Tutor views the results.

      Other single digit numbers work fine except for 0 that triggers a different effect. The option completely disappears, the same as if the text entry area was left completely blank.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: