mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
SCORM MDL-17891 pass back correct state if storeData fails in LMSFinish - thanks to Peter Chamberlin for the report.
This commit is contained in:
parent
25d18a5288
commit
67f941099a
1 changed files with 2 additions and 1 deletions
|
@ -201,10 +201,11 @@ function SCORMapi1_2() {
|
|||
<?php
|
||||
if (scorm_debugging($scorm)) {
|
||||
//echo 'alert("Finished SCORM 1.2");';
|
||||
echo 'LogAPICall("LMSResult", param, "", result);';
|
||||
echo 'LogAPICall("LMSFinish", param, "", 0);';
|
||||
}
|
||||
?>
|
||||
return "true";
|
||||
return result;
|
||||
} else {
|
||||
errorCode = "301";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue