Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7594

Answer preceding label missing when viewing all results

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.6
    • None
    • Module: Questionnaire
    • None
    • MOODLE_36_STABLE

    Description

      We've got a questionnaire with some radio button questions and some questions of type label.

      All answers that precede a question of type label are missing in results on the "View all responses" tab.

      On line 341 of questionnaire.class.php, questions of type label skip the incrementation of $i, so the result of this question overwrites the result of the last question.

      if ($question->type_id < QUESPAGEBREAK) {
        $i++;
      }

       

      Attachments

        Activity

          People

            mchurch Mike Churchward
            rubenz Ruben Zijlstra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: