Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-16345 Moodle 2.0 question bank improvements
  3. MDL-19213

Saving tags only on the question wizardpage that contain them normally first one as in calculated

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Questions
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      There is an error when using second and third page of calculated question editing as there is no tags on theses pages.
      So question.php line 208
      if (!empty($CFG->usetags))

      { require_once($CFG->dirroot.'/tag/lib.php'); tag_set('question', $question->id, $fromform->tags); }
      should be changed to

      if (!empty($CFG->usetags) && isset($fromform->tags)) { require_once($CFG->dirroot.'/tag/lib.php'); tag_set('question', $question->id, $fromform->tags); }

      I will CVs the correction in the next days (back to work tuesday).

            ppichet Pierre Pichet (Inactive)
            ppichet Pierre Pichet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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