diff options
author | thomascube <thomas@roundcube.net> | 2010-04-13 07:24:09 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2010-04-13 07:24:09 +0000 |
commit | 8e3a6039cfefb8f351d2696ebdcfa26cc5d4cef9 (patch) | |
tree | 32e17ad5447f3e7b61ddaa1f5d85d2c7f94a0849 /program/steps | |
parent | 6b01133063cf1c138d4820f43206a4b16c802387 (diff) |
Assign newly created contacts to the active group (#1486626) and fix group selection display (#1486619)
Diffstat (limited to 'program/steps')
-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 fa97bc0a2..3e2d8c583 100644 --- a/program/steps/addressbook/edit.inc +++ b/program/steps/addressbook/edit.inc @@ -88,6 +88,7 @@ function get_form_tags($attrib) if (empty($EDIT_FORM)) { $hiddenfields = new html_hiddenfield(array('name' => '_source', 'value' => get_input_value('_source', RCUBE_INPUT_GPC))); + $hiddenfields->add(array('name' => '_gid', 'value' => $CONTACTS->group_id)); if (($result = $CONTACTS->get_result()) && ($record = $result->first())) $hiddenfields->add(array('name' => '_cid', 'value' => $record['ID'])); |