summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-13 07:24:09 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-13 07:24:09 +0000
commit14da6187de40ae201a20b80aa958ae8d0b14f553 (patch)
treec9d49ac69cc1ef87174adf01017fd695b2fcde62 /roundcubemail/program/steps
parent5e3c5775c0b6c6df664412e8bdf5872dfe9e8a9e (diff)
Assign newly created contacts to the active group (#1486626) and fix group selection display (#1486619)
git-svn-id: https://svn.roundcube.net/trunk@3485 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/addressbook/edit.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/addressbook/edit.inc b/roundcubemail/program/steps/addressbook/edit.inc
index fa97bc0a2..3e2d8c583 100644
--- a/roundcubemail/program/steps/addressbook/edit.inc
+++ b/roundcubemail/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']));