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

Typo in question/type/numerical/db/upgrade.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0
    • Questions
    • None
    • MOODLE_20_STABLE

      I suspect that the upgrade step 2009100101 in numerical qtype upgrade has a typo. The code

      $record->instructions = text_to_html($record->questiontext, false, false, true);

      copies the question text into the numerical units instructions. Was that intentional? Note that the doc block above this code is a bit confusing and it indicates that this part was copied from qtype_match so this text_to_html() conversion could be a relict of that.

      Anyway, on backup19 conversion, I am not replaying this line yet unless it is confirmed that the question text should be really copied into the instructions.

            timhunt Tim Hunt
            mudrd8mz David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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