MDL-58845 mod_choice: In reports, respect "Show column for unanswered"

This commit is contained in:
Luca Bösch
2018-02-16 08:45:02 +01:00
parent 4ce48de8d6
commit 5b1cfc900d
-2
View File
@@ -262,8 +262,6 @@
}
exit;
}
// Always show those who haven't answered the question.
$choice->showunanswered = 1;
$results = prepare_choice_show_results($choice, $course, $cm, $users);
$renderer = $PAGE->get_renderer('mod_choice');
echo $renderer->display_result($results, true);