MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
This commit is contained in:
+2
-2
@@ -74,10 +74,10 @@ if (!empty($course)) {
|
||||
}
|
||||
}
|
||||
$course->allowedmods = $allowedmods;
|
||||
$course = file_prepare_standard_editor($course, 'summary', $editoroptions, $coursecontext, 'course_summary', 0);
|
||||
$course = file_prepare_standard_editor($course, 'summary', $editoroptions, $coursecontext, 'course', 'summary', 0);
|
||||
|
||||
} else {
|
||||
$course = file_prepare_standard_editor($course, 'summary', $editoroptions, null, 'course_summary', null);
|
||||
$course = file_prepare_standard_editor($course, 'summary', $editoroptions, null, 'course', 'summary', null);
|
||||
}
|
||||
|
||||
// first create the form
|
||||
|
||||
Reference in New Issue
Block a user