|
@@ -820,6 +820,8 @@ class iassign {
|
|
|
if ($this->write_solution == 1) {
|
|
|
$timenow = time();
|
|
|
|
|
|
+ $newentry = null;
|
|
|
+
|
|
|
|
|
|
if (!$iassign_submission) {
|
|
|
$newentry = new stdClass();
|
|
@@ -938,6 +940,10 @@ class iassign {
|
|
|
print $OUTPUT->box_end();
|
|
|
}
|
|
|
}
|
|
|
+ if ($newentry) {
|
|
|
+ unset($newentry->timemodified);
|
|
|
+ $DB->insert_record("iassign_submission_trace", $newentry);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
print $OUTPUT->footer();
|