Browse files

Fixed problem with cmi.interactions.n.id duplicated ids

  • Loading branch information...
1 parent 6cc1a80 commit ef24d5b8fd11ff32ef5dc273b1538138a6c917a5 csantossaenz committed May 29, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/datamodels/scorm_13.js.php
View
2 mod/scorm/datamodels/scorm_13.js.php
@@ -556,7 +556,7 @@ function SetValue (element,value) {
parentmodel = 'cmi.interactions';
if (subelement.substr(0,parentmodel.length) == parentmodel) {
if ((elementmodel==parentmodel+'.n.id') && (errorCode=="0")) {
- if (eval(element) != value) {
+ if (eval(element) == value) {
errorCode = "351";
diagnostic = "Write Once Violation";
}

0 comments on commit ef24d5b

Please sign in to comment.