mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'MOODLE_main_MDL-82601' of https://github.com/danielneis/moodle
This commit is contained in:
commit
3792898775
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ function scorm_insert_track($userid, $scormid, $scoid, $attemptornumber, $elemen
|
|||
if (!empty($tracktest)) {
|
||||
if ($tracktest->value == "incomplete") {
|
||||
$v = new stdClass();
|
||||
$v->id = $track->valueid;
|
||||
$v->id = $tracktest->valueid;
|
||||
$v->value = "completed";
|
||||
$DB->update_record('scorm_scoes_value', $v);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue