From 6851e7cd4acab1f480d2fb90f180ad32fbaf26e5 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Wed, 1 Jun 2005 06:44:35 +0000 Subject: [PATCH] merged fix of bug 3377 --- mod/quiz/attempt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/attempt.php b/mod/quiz/attempt.php index 99f8ca3c96d..533c8a81458 100644 --- a/mod/quiz/attempt.php +++ b/mod/quiz/attempt.php @@ -205,7 +205,7 @@ "$quiz->id", $cm->id); } } - if ($attempt->timestart) { // shouldn't really happen, just for robustness + if (!$attempt->timestart) { // shouldn't really happen, just for robustness $attempt->timestart = time(); }