summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-05-27 13:01:05 +0000
committeralecpl <alec@alec.pl>2011-05-27 13:01:05 +0000
commit516467080bd822cb94a4a9ef58a168dcdaf7535b (patch)
tree79dbd8e0463985fba5af3de12130b6aa4ccf97fc /program/include
parentd7344819834e469c2e5875f756f1ad973b2e06d9 (diff)
- Fix handling of "<" character in contact data, search fields and folder names, identity name and organization fields (#1487864)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/main.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 44a43c64c..98b8bcb46 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -867,8 +867,7 @@ function rcmail_get_edit_field($col, $value, $attrib, $type='text')
// use value from post
if (isset($_POST[$fname])) {
- $postvalue = get_input_value($fname, RCUBE_INPUT_POST,
- $type == 'textarea' && strpos($attrib['class'], 'mce_editor')!==false ? true : false);
+ $postvalue = get_input_value($fname, RCUBE_INPUT_POST, true);
$value = $attrib['array'] ? $postvalue[intval($colcounts[$col]++)] : $postvalue;
}