Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1645ad2
)
MDL-28103 one more problem.
author
Tim Hunt
<T.J.Hunt@open.ac.uk>
Fri, 1 Jul 2011 20:17:06 +0000
(21:17 +0100)
committer
Tim Hunt
<T.J.Hunt@open.ac.uk>
Fri, 1 Jul 2011 20:17:06 +0000
(21:17 +0100)
question/engine/upgrade/behaviourconverters.php
patch
|
blob
|
blame
|
history
diff --git
a/question/engine/upgrade/behaviourconverters.php
b/question/engine/upgrade/behaviourconverters.php
index
9fffa19
..
a502b8e
100644
(file)
--- a/
question/engine/upgrade/behaviourconverters.php
+++ b/
question/engine/upgrade/behaviourconverters.php
@@
-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);