MDL-28103 one more problem.

This commit is contained in:
Tim Hunt
2011-07-01 21:17:06 +01:00
parent 1645ad22d8
commit aa5257ce7e

View File

@@ -320,7 +320,7 @@ abstract class question_behaviour_attempt_updater {
}
$step->fraction = null;
$step->timecreated = $state->timestamp;
$step->timecreated = $state->timestamp ? $state->timestamp : time();
$step->userid = $this->attempt->userid;
$summary = $this->qtypeupdater->response_summary($state);