Permalink
Browse files

SCORM MDL-25891 typo causing general exception for some SCORM objects…

… - thanks to Hais Deakin for report/fix
  • Loading branch information...
danmarsden committed Jan 9, 2011
1 parent 46f4c39 commit ed5c4cf44d0b38e129ad57747dfaf16d9677d465
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/datamodels/scorm_12.js.php
@@ -431,7 +431,7 @@ function LMSCommit (param) {
}
?>
result = ('true' == result) ? 'true' : 'false';
- errorCode = (result ==' true')? '0' : '101';
+ errorCode = (result =='true')? '0' : '101';
<?php
if (scorm_debugging($scorm)) {
//echo 'alert("Finished SCORM 1.2");';

0 comments on commit ed5c4cf

Please sign in to comment.