Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a67d7c
)
"MDL-25529 revert changes, it broke module instance creating page"
author
Dongsheng Cai
<unoter@gmail.com>
Sun, 5 Dec 2010 18:01:33 +0000
(18:01 +0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Sun, 5 Dec 2010 18:01:33 +0000
(18:01 +0000)
course/modedit.php
patch
|
blob
|
blame
|
history
diff --git
a/course/modedit.php
b/course/modedit.php
index
b6db24b
..
488a3af
100644
(file)
--- 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']);