From 7be06fa5350665f885ae2826acf298ecc7f00a95 Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Sun, 5 Dec 2010 18:01:33 +0000 Subject: [PATCH] "MDL-25529 revert changes, it broke module instance creating page" --- course/modedit.php | 1 - 1 file changed, 1 deletion(-) diff --git a/course/modedit.php b/course/modedit.php index b6db24bede1..488a3afcc0a 100644 --- a/course/modedit.php +++ b/course/modedit.php @@ -427,7 +427,6 @@ if ($mform->is_cancelled()) { // 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']);