Skip to content

Commit

Permalink
Sorry, I was a bit hasty in my last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gustav_delius committed Feb 15, 2006
1 parent 33dde42 commit 32ddabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/locallib.php
Expand Up @@ -1795,7 +1795,7 @@ function quiz_apply_penalty_and_timelimit(&$question, &$state, $attempt, $quiz)
}

// deal with quiz closing time
if ($cmoptions->timeclose and $state->timestamp > ($cmoptions->timeclose + 60) // allowing 1 minute lateness
if ($quiz->timeclose and $state->timestamp > ($quiz->timeclose + 60) // allowing 1 minute lateness
and !$attempt->preview) { // ignore closing time for previews
$state->grade = 0;
}
Expand Down

0 comments on commit 32ddabc

Please sign in to comment.