diff --git a/mod/scorm/aicc.php b/mod/scorm/aicc.php index d101a8eca8d..028bf0b6d17 100644 --- a/mod/scorm/aicc.php +++ b/mod/scorm/aicc.php @@ -413,10 +413,10 @@ if (!empty($command)) { } else { $track = new stdClass(); $track->scoid = $sco->id; - $track->element = scorm_get_elementid('cmi.core.total_time'); + $track->elementid = scorm_get_elementid('cmi.core.total_time'); $track->value = $scormsession->sessiontime; $atobject = scorm_get_attempt($aiccuser->id, $scormsession->scormid, $attempt); - $track->attempt = $atobject->id; + $track->attemptid = $atobject->id; $track->timemodified = time(); $id = $DB->insert_record('scorm_scoes_value', $track); }