Skip to content

Commit

Permalink
Merge branch 'MDL-62769_35' of https://github.com/timhunt/moodle into…
Browse files Browse the repository at this point in the history
… MOODLE_35_STABLE
  • Loading branch information
junpataleta committed Jul 18, 2018
2 parents f22286d + 12d4fe9 commit 6d0a80d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/quiz/report/statistics/report.php
Expand Up @@ -529,7 +529,8 @@ protected function output_statistics_graph($quizorid, $qubaids) {
$questions = quiz_report_get_significant_questions($quiz);

// Only load main question not sub questions.
$questionstatistics = $DB->get_records_select('question_statistics', 'hashcode = ? AND slot IS NOT NULL',
$questionstatistics = $DB->get_records_select('question_statistics',
'hashcode = ? AND slot IS NOT NULL AND variant IS NULL',
[$qubaids->get_hash_code()]);

// Configure what to display.
Expand Down

0 comments on commit 6d0a80d

Please sign in to comment.