summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 9223e26f8..75ad2b30b 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -550,7 +550,8 @@ function rcmail_get_edit_field($col, $value, $attrib, $type='text')
// use value from post
if (!empty($_POST[$fname]))
- $value = get_input_value($fname, RCUBE_INPUT_POST);
+ $value = get_input_value($fname, RCUBE_INPUT_POST,
+ $type == 'textarea' && strpos($attrib['class'], 'mce_editor')!==false ? true : false);
$out = $input->show($value);