Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit ef24d5b8fd11ff32ef5dc273b1538138a6c917a5 1 parent 6cc1a80
authored May 29, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  mod/scorm/datamodels/scorm_13.js.php
2  mod/scorm/datamodels/scorm_13.js.php
@@ -556,7 +556,7 @@ function SetValue (element,value) {
556 556
                                              parentmodel = 'cmi.interactions';
557 557
                                              if (subelement.substr(0,parentmodel.length) == parentmodel) {
558 558
                                                  if ((elementmodel==parentmodel+'.n.id') && (errorCode=="0")) { 
559  
-                                                     if (eval(element) != value) {
  559
+                                                     if (eval(element) == value) {
560 560
                                                          errorCode = "351";
561 561
                                                          diagnostic = "Write Once Violation";
562 562
                                                      }

0 notes on commit ef24d5b

Please sign in to comment.
Something went wrong with that request. Please try again.