mod-scorm MDL-16706 Added missing global from commites yesterday
authorsamhemelryk <samhemelryk>
Fri, 3 Jul 2009 01:36:18 +0000 (01:36 +0000)
committersamhemelryk <samhemelryk>
Fri, 3 Jul 2009 01:36:18 +0000 (01:36 +0000)
mod/scorm/datamodels/aicclib.php

index acabe596fe0d30cc41ed52763c4f19764a017d70..9426c3f2dce30e2fb9f762ccf4a24d73cca35670 100644 (file)
@@ -329,7 +329,7 @@ function scorm_parse_aicc($scorm) {
 }
 
 function scorm_get_toc($user,$scorm,$liststyle,$currentorg='',$scoid='',$mode='normal',$attempt='',$play=false) {
-    global $CFG, $DB;
+    global $CFG, $DB, $PAGE;
 
     $strexpand = get_string('expcoll','scorm');
     $modestr = '';