Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit ef24d5b8fd11ff32ef5dc273b1538138a6c917a5 1 parent 6cc1a80
csantossaenz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/scorm/datamodels/scorm_13.js.php
2  mod/scorm/datamodels/scorm_13.js.php
View
@@ -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";
}
Please sign in to comment.
Something went wrong with that request. Please try again.