summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/main.inc3
-rw-r--r--program/steps/settings/save_identity.inc4
2 files changed, 4 insertions, 3 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);
diff --git a/program/steps/settings/save_identity.inc b/program/steps/settings/save_identity.inc
index de2b4fc19..e19a3317b 100644
--- a/program/steps/settings/save_identity.inc
+++ b/program/steps/settings/save_identity.inc
@@ -28,7 +28,7 @@ $updated = $default_id = false;
if (empty($_POST['_name']) || empty($_POST['_email']))
{
$OUTPUT->show_message('formincomplete', 'warning');
- rcmail_overwrite_action('edit-identitiy');
+ rcmail_overwrite_action('edit-identity');
return;
}
@@ -71,7 +71,7 @@ if ($_POST['_iid'])
{
// show error message
$OUTPUT->show_message('errorsaving', 'error');
- rcmail_overwrite_action('edit-identitiy');
+ rcmail_overwrite_action('edit-identity');
return;
}
}