Merge branch 'MDL-41125-master' of git://github.com/FMCorz/moodle
authorDan Poltawski <dan@moodle.com>
Thu, 22 Aug 2013 02:32:54 +0000 (10:32 +0800)
committerDan Poltawski <dan@moodle.com>
Thu, 22 Aug 2013 02:32:54 +0000 (10:32 +0800)
mod/forum/classes/post_form.php

index 1bbf16b..6840446 100644 (file)
@@ -25,6 +25,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 require_once($CFG->libdir . '/formslib.php');
+require_once($CFG->dirroot . '/repository/lib.php');
 
 /**
  * Class to post in a forum.