MDL-41143 course: Missing formslib required for constant use
authorFrederic Massart <fred@moodle.com>
Wed, 21 Aug 2013 05:31:59 +0000 (13:31 +0800)
committerFrederic Massart <fred@moodle.com>
Wed, 21 Aug 2013 05:31:59 +0000 (13:31 +0800)
course/editsection.php

index c75e3dc..a525e39 100644 (file)
@@ -25,6 +25,7 @@
 
 require_once("../config.php");
 require_once("lib.php");
+require_once($CFG->libdir . '/formslib.php');
 require_once($CFG->libdir . '/conditionlib.php');
 
 $id = required_param('id', PARAM_INT);    // course_sections.id