Permalink
Browse files

MDL-29570 Quiz editing page displays the wrong time in the status lin…

…e sometimes.
  • Loading branch information...
timhunt committed Sep 29, 2011
1 parent 3973662 commit 8258ddff3bfa5cd97b87dd56252176ce5b9e7e5a
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/editlib.php
View
@@ -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')));

0 comments on commit 8258ddf

Please sign in to comment.