From 868deb5dabdc4d63210e4f53a2a80a904247af6a Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 6 Oct 2010 17:15:38 +0000 Subject: - Make htmleditor option behaviour consistent, add option to use HTML on reply to HTML message (#1485840) --- program/steps/settings/save_prefs.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'program/steps/settings/save_prefs.inc') diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc index 4621427ee..ae3d6d704 100644 --- a/program/steps/settings/save_prefs.inc +++ b/program/steps/settings/save_prefs.inc @@ -58,11 +58,10 @@ switch ($CURR_SECTION) 'default_charset' => get_input_value('_default_charset', RCUBE_INPUT_POST), ); - break; case 'compose': $a_user_prefs = array( - 'htmleditor' => isset($_POST['_htmleditor']) ? TRUE : FALSE, + 'htmleditor' => intval($_POST['_htmleditor']), 'draft_autosave' => isset($_POST['_draft_autosave']) ? intval($_POST['_draft_autosave']) : 0, 'mime_param_folding' => isset($_POST['_mime_param_folding']) ? intval($_POST['_mime_param_folding']) : 0, 'force_7bit' => isset($_POST['_force_7bit']) ? TRUE : FALSE, -- cgit v1.2.3