MDL-26905 - Fixed missing of currentorg initialization in AICC API
authorMatteo Scaramuccia <moodle@matteoscaramuccia.com>
Sun, 20 Mar 2011 22:54:39 +0000 (23:54 +0100)
committerMatteo Scaramuccia <moodle@matteoscaramuccia.com>
Sun, 20 Mar 2011 22:54:39 +0000 (23:54 +0100)
mod/scorm/datamodels/aicc.js.php

index 4bbe703..ae30884 100644 (file)
@@ -10,6 +10,9 @@
             }
         }
     }
+    if (!isset($currentorg)) {
+        $currentorg = '';
+    }
 ?>
 //
 // SCORM 1.2 API Implementation