MDL-25757 SCORM fix issue with duplicate cmi values being saved
authorDan Marsden <dan@danmarsden.com>
Sat, 13 Aug 2011 01:22:58 +0000 (13:22 +1200)
committerDan Marsden <dan@danmarsden.com>
Sat, 13 Aug 2011 01:22:58 +0000 (13:22 +1200)
mod/scorm/datamodels/scorm_12.js.php

index 75481d8..338ae7f 100644 (file)
@@ -586,7 +586,6 @@ function SCORMapi1_2() {
                                 }
                             } else {
                                 datastring += elementstring;
                                 }
                             } else {
                                 datastring += elementstring;
-                                eval('datamodel["'+elementmodel+'"].defaultvalue=data[property];');
                             }
                         }
                     }
                             }
                         }
                     }