Skip to content

Commit

Permalink
patched a parse error
Browse files Browse the repository at this point in the history
  • Loading branch information
bobopinna committed May 28, 2007
1 parent 5eb1924 commit 416050a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scorm/datamodels/scorm_13.js.php
Expand Up @@ -387,7 +387,7 @@ function SetValue (element,value) {
elementmodel = element.replace(expression,'.n.');
if ((typeof eval('datamodel["'+elementmodel+'"]')) != "undefined") {
if (eval('datamodel["'+elementmodel+'"].mod') != 'r') {
if (eval(datamodel["'+elementmodel+'"].format) != 'CMIFeedback') {
if (eval('datamodel["'+elementmodel+'"].format') != 'CMIFeedback') {
expression = new RegExp(eval('datamodel["'+elementmodel+'"].format'));
} else {
// cmi.interactions.n.type depending format accept everything at this stage
Expand Down

0 comments on commit 416050a

Please sign in to comment.