MDL-38489 mod_scorm: added require to be explicit
authorSam Hemelryk <sam@moodle.com>
Mon, 16 Sep 2013 21:12:02 +0000 (09:12 +1200)
committerSam Hemelryk <sam@moodle.com>
Mon, 16 Sep 2013 21:12:02 +0000 (09:12 +1200)
mod/scorm/view.php

index 24d0364..692dcb4 100644 (file)
@@ -16,6 +16,7 @@
 
 require_once("../../config.php");
 require_once($CFG->dirroot.'/mod/scorm/locallib.php');
+require_once($CFG->dirroot.'/course/lib.php');
 
 $id = optional_param('id', '', PARAM_INT);       // Course Module ID, or
 $a = optional_param('a', '', PARAM_INT);         // scorm ID