Skip to content
Browse files

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

…ssible
  • Loading branch information...
1 parent 03eca36 commit d678b11b8c28fc686411002b34ac84b505fbdab0 moodler committed Jul 31, 2004
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/quiz/lib.php
View
3 mod/quiz/lib.php
@@ -2088,7 +2088,8 @@ function quiz_grade_attempt_results($quiz, $questions) {
$question->grade = $grades[$question->id];
if (!$answers = quiz_get_answers($question)) {
- error("No answers defined for question id $question->id!");
+ notify("No answers defined for question id $question->id!");
+ continue;
}
$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.