Permalink
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...
1 parent a3f6b0f commit ff9be2feef15815fc079480277fe35700981c39c @danmarsden danmarsden committed Jan 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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];
}

0 comments on commit ff9be2f

Please sign in to comment.