[svn r12960] Returning error code as string as required by the SCORM 1.2 rule: "The return values are Strings that can be converted to integer numbers that identify errors [...]"

skala
Yannick Warnier 18 years ago
parent 1745c7d37c
commit 69192c1843
  1. 2
      main/newscorm/scorm_api.php

@ -548,7 +548,7 @@ function Finish(val) {
function LMSGetLastError() { function LMSGetLastError() {
logit_scorm('LMSGetLastError()',1); logit_scorm('LMSGetLastError()',1);
return(G_LastError); return(G_LastError.toString());
} }
function GetLastError() { function GetLastError() {

Loading…
Cancel
Save