mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-46805 mod_scorm: Re-fix as previous object was removed in 2.8
This commit is contained in:
parent
e43bf473fa
commit
0adf7044ff
@ -111,7 +111,8 @@ if (!empty($command)) {
|
||||
$userdata->status = '';
|
||||
$userdata->score_raw = '';
|
||||
}
|
||||
if (!empty($cfg_scorm->aiccuserid)) {
|
||||
$aiccuserid = get_config('scorm', 'aiccuserid');
|
||||
if (!empty($aiccuserid)) {
|
||||
$userdata->student_id = $aiccuser->id;
|
||||
} else {
|
||||
$userdata->student_id = $aiccuser->username;
|
||||
@ -443,4 +444,4 @@ if (empty($cfgscorm->allowaicchacp)) {
|
||||
|
||||
$aiccresponse = ob_get_contents();
|
||||
scorm_debug_log_write("aicc", "HACP Response:\r\n$aiccresponse", $scoid);
|
||||
ob_end_flush();
|
||||
ob_end_flush();
|
||||
|
Loading…
x
Reference in New Issue
Block a user