diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-08-10 10:39:25 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-08-10 10:39:56 +0200 |
commit | dddb9dee612e56298869422700aff0fba187a842 (patch) | |
tree | 4390219eb1cb0eba480ce2c4942972d9516ac169 /program/steps/addressbook/edit.inc | |
parent | f5f056e7f213666d9e9556092795b07df8e8354d (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.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc index 3bbbfccdf..5714457c1 100644 --- a/program/steps/addressbook/edit.inc +++ b/program/steps/addressbook/edit.inc @@ -253,6 +253,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'])); |