Merge branch 'MDL-43454-26' of git://github.com/FMCorz/moodle into MOODLE_26_STABLE

This commit is contained in:
Damyon Wiese
2014-01-06 15:52:17 +08:00
@@ -37,6 +37,9 @@ class assignment_online extends assignment_base {
$editmode = ($editable and $edit);
if ($editmode) {
// Loading the constants FILE_INTERNAL and FILE_EXTERNAL.
require_once($CFG->dirroot . '/repository/lib.php');
// prepare form and process submitted data
$editoroptions = array(
'noclean' => false,