summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/edit.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-10 10:39:25 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-10 10:39:25 +0200
commit765a0b0706a2ef347b71627e75bdc06d9656fe96 (patch)
tree208c7555594cc6db2eb725cace261cd6f1f428a1 /program/steps/addressbook/edit.inc
parentef4c4787604b02f40d271a88126e1a2ed8753be0 (diff)
Fix errors when adding/updating contacts in active search (#1490015)
Diffstat (limited to 'program/steps/addressbook/edit.inc')
-rw-r--r--program/steps/addressbook/edit.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc
index 27d26791b..a7def586d 100644
--- a/program/steps/addressbook/edit.inc
+++ b/program/steps/addressbook/edit.inc
@@ -258,6 +258,7 @@ function get_form_tags($attrib)
if ($RCMAIL->action == 'edit')
$hiddenfields->add(array('name' => '_source', 'value' => $SOURCE_ID));
$hiddenfields->add(array('name' => '_gid', 'value' => $CONTACTS->group_id));
+ $hiddenfields->add(array('name' => '_search', 'value' => rcube_utils::get_input_value('_search', rcube_utils::INPUT_GPC)));
if (($result = $CONTACTS->get_result()) && ($record = $result->first()))
$hiddenfields->add(array('name' => '_cid', 'value' => $record['ID']));