Merge branch 'MDL-43454-master' of git://github.com/FMCorz/moodle

This commit is contained in:
Damyon Wiese 2014-01-06 15:51:25 +08:00
commit 717093583f

View File

@ -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,