summaryrefslogtreecommitdiff
path: root/program/steps/settings/save_prefs.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-05-27 13:13:32 +0000
committeralecpl <alec@alec.pl>2011-05-27 13:13:32 +0000
commitd9641b0874ae1c0344600c5566e0d1135bd7f0cd (patch)
tree74fcd71c5dc37cd3f5841b7f85aa29b3bca6c4ed /program/steps/settings/save_prefs.inc
parent516467080bd822cb94a4a9ef58a168dcdaf7535b (diff)
- Allow setting special folder with "<" character
Diffstat (limited to 'program/steps/settings/save_prefs.inc')
-rw-r--r--program/steps/settings/save_prefs.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc
index 031e0d3e4..a5ec2346a 100644
--- a/program/steps/settings/save_prefs.inc
+++ b/program/steps/settings/save_prefs.inc
@@ -80,7 +80,7 @@ switch ($CURR_SECTION)
case 'addressbook':
$a_user_prefs = array(
- 'default_addressbook' => get_input_value('_default_addressbook', RCUBE_INPUT_POST),
+ 'default_addressbook' => get_input_value('_default_addressbook', RCUBE_INPUT_POST, true),
);
break;
@@ -99,10 +99,10 @@ switch ($CURR_SECTION)
case 'folders':
$a_user_prefs = array(
- 'drafts_mbox' => get_input_value('_drafts_mbox', RCUBE_INPUT_POST),
- 'sent_mbox' => get_input_value('_sent_mbox', RCUBE_INPUT_POST),
- 'junk_mbox' => get_input_value('_junk_mbox', RCUBE_INPUT_POST),
- 'trash_mbox' => get_input_value('_trash_mbox', RCUBE_INPUT_POST),
+ 'drafts_mbox' => get_input_value('_drafts_mbox', RCUBE_INPUT_POST, true),
+ 'sent_mbox' => get_input_value('_sent_mbox', RCUBE_INPUT_POST, true),
+ 'junk_mbox' => get_input_value('_junk_mbox', RCUBE_INPUT_POST, true),
+ 'trash_mbox' => get_input_value('_trash_mbox', RCUBE_INPUT_POST, true),
);
break;