summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/addressbook/groups.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-18 18:00:57 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-18 18:00:57 +0000
commit2a39de413ca7023350a338087976e0481a319d9a (patch)
tree9859e4e615a2663526d85a635edabbdb413557ea /roundcubemail/program/steps/addressbook/groups.inc
parentfd40ada993897de4b4779e1847dbaf29339fa087 (diff)
Merge branch devel-addressbook (r4193:4382) back into trunk
git-svn-id: https://svn.roundcube.net/trunk@4424 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook/groups.inc')
-rw-r--r--roundcubemail/program/steps/addressbook/groups.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/addressbook/groups.inc b/roundcubemail/program/steps/addressbook/groups.inc
index b7fdb2fff..b70bbf265 100644
--- a/roundcubemail/program/steps/addressbook/groups.inc
+++ b/roundcubemail/program/steps/addressbook/groups.inc
@@ -79,8 +79,7 @@ else if ($RCMAIL->action == 'group-create') {
if ($created && $OUTPUT->ajax_call) {
$OUTPUT->show_message('groupcreated', 'confirmation');
- $OUTPUT->command('insert_contact_group', array(
- 'source' => $source, 'id' => $created['id'], 'name' => $created['name']));
+ $OUTPUT->command('insert_contact_group', array('source' => $source) + $created);
}
else if (!$created) {
$OUTPUT->show_message($plugin['message'] ? $plugin['message'] : 'errorsaving', 'error');