Fix for problem caused when I removed some requires from the course formats
recently thinking they were not needed, doh. MDL-9402
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
require_once('lib.php');
|
||||
require_once($CFG->libdir.'/blocklib.php');
|
||||
require_once($CFG->libdir.'/ajax/ajaxlib.php');
|
||||
require_once($CFG->dirroot.'/mod/forum/lib.php');
|
||||
|
||||
$id = optional_param('id', 0, PARAM_INT);
|
||||
$name = optional_param('name', '', PARAM_RAW);
|
||||
|
||||
Reference in New Issue
Block a user