Merge branch 'MDL-29570' of git://github.com/timhunt/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 3 Oct 2011 19:42:28 +0000 (21:42 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 3 Oct 2011 19:42:28 +0000 (21:42 +0200)
mod/quiz/editlib.php

index 4a944da..6b5ddf9 100644 (file)
@@ -1272,7 +1272,7 @@ function quiz_print_status_bar($quiz) {
     // Brief summary on the page.
     if ($timenow < $quiz->timeopen) {
         $currentstatus = get_string('quizisclosedwillopen', 'quiz',
-                userdate($quiz->timeclose, get_string('strftimedatetimeshort', 'langconfig')));
+                userdate($quiz->timeopen, get_string('strftimedatetimeshort', 'langconfig')));
     } else if ($quiz->timeclose && $timenow <= $quiz->timeclose) {
         $currentstatus = get_string('quizisopenwillclose', 'quiz',
                 userdate($quiz->timeclose, get_string('strftimedatetimeshort', 'langconfig')));