Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Changed an error() to a notify() so things can continue as much as po…

…ssible
  • Loading branch information...
commit d678b11b8c28fc686411002b34ac84b505fbdab0 1 parent 03eca36
moodler authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  mod/quiz/lib.php
3  mod/quiz/lib.php
@@ -2088,7 +2088,8 @@ function quiz_grade_attempt_results($quiz, $questions) {
2088 2088 $question->grade = $grades[$question->id];
2089 2089
2090 2090 if (!$answers = quiz_get_answers($question)) {
2091   - error("No answers defined for question id $question->id!");
  2091 + notify("No answers defined for question id $question->id!");
  2092 + continue;
2092 2093 }
2093 2094
2094 2095 $questionresult = quiz_grade_attempt_question_result($question,

0 comments on commit d678b11

Please sign in to comment.
Something went wrong with that request. Please try again.