]> git.mjollnir.org Git - moodle.git/commitdiff
Typo. Merged from MOODLE_17_STABLE.
authortjhunt <tjhunt>
Mon, 4 Dec 2006 11:54:48 +0000 (11:54 +0000)
committertjhunt <tjhunt>
Mon, 4 Dec 2006 11:54:48 +0000 (11:54 +0000)
mod/quiz/view.php

index 690bf767f7602e76d3296f3a136240b776dde274..21b5c3b99e6abe9e883a1639835f26a9db8691fe 100644 (file)
                     $lastattempttime = $lastattempt->timefinish;
                     if ($numattempts == 1 && $quiz->delay1 && $timenow <= $lastattempttime + $quiz->delay1) {
                         $tempunavailable = get_string('temporaryblocked', 'quiz') .
-                                ' <b>'. userdate($lastattempt + $quiz->delay1). '<b>';
+                                ' <b>'. userdate($lastattempttime + $quiz->delay1). '<b>';
                     } else if ($numattempts > 1 && $quiz->delay2 && $timenow <= $lastattempttime +  $quiz->delay2) {
                         $tempunavailable = get_string('temporaryblocked', 'quiz') .
-                                ' <b>'. userdate($lastattempt + $quiz->delay2). '<b>';
+                                ' <b>'. userdate($lastattempttime + $quiz->delay2). '<b>';
                     }
 
                     // If so, display a message and prevent the start button from appearing.