Skip to content

Commit

Permalink
The bug where an event was not created for closing-time-only-supplied
Browse files Browse the repository at this point in the history
quizzes also existed when updating a quiz instance (not only adding)...
  • Loading branch information
defacer committed Nov 23, 2005
1 parent 018881d commit 64f3698
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/quiz/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ function quiz_update_instance($quiz) {
$event->timestart = $quiz->timeclose;
$event->eventtype = 'close';
$event->timeduration = 0;
add_event($event);
}

return true;
Expand Down

0 comments on commit 64f3698

Please sign in to comment.