From 14da6187de40ae201a20b80aa958ae8d0b14f553 Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 13 Apr 2010 07:24:09 +0000 Subject: 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 --- roundcubemail/program/steps/addressbook/edit.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'roundcubemail/program/steps') 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'])); -- cgit v1.2.3