Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SCORM AICC MDL-19392 MDL-13716 cast result as a String in AICC (alrea…

…dy done in Scorm 1.2 and 1.3 merged from HEAD
  • Loading branch information...
commit ff9be2feef15815fc079480277fe35700981c39c 1 parent a3f6b0f
@danmarsden danmarsden authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/scorm/datamodels/aicc.js.php
View
2  mod/scorm/datamodels/aicc.js.php
@@ -520,7 +520,7 @@ function StoreData(data,storetotaltime) {
//popupwin(datastring);
var myRequest = NewHttpReq();
result = DoRequest(myRequest,"<?php p($CFG->wwwroot) ?>/mod/scorm/datamodel.php","id=<?php p($id) ?>&sesskey=<?php p($USER->sesskey) ?>"+datastring);
- results = result.split('\n');
+ results = String(result).split('\n');
errorCode = results[1];
return results[0];
}
Please sign in to comment.
Something went wrong with that request. Please try again.