Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

"MDL-25529 revert changes, it broke module instance creating page"

  • Loading branch information...
commit 7be06fa5350665f885ae2826acf298ecc7f00a95 1 parent 4a67d7c
@dcai dcai authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  course/modedit.php
View
1  course/modedit.php
@@ -427,7 +427,6 @@
// update embedded links and save files
$modcontext = get_context_instance(CONTEXT_MODULE, $fromform->coursemodule);
if (plugin_supports('mod', $fromform->modulename, FEATURE_MOD_INTRO, true)) {
- $introeditor = $fromform->introeditor;
$fromform->intro = file_save_draft_area_files($introeditor['itemid'], $modcontext->id,
'mod_'.$fromform->modulename, 'intro', 0,
array('subdirs'=>true), $introeditor['text']);
Please sign in to comment.
Something went wrong with that request. Please try again.