diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-01-29 11:31:23 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-01-29 11:31:23 +0000 |
| commit | 8167bf21ec421056bebe5c1958dc742d309c25a4 (patch) | |
| tree | 3cd70ed4fa1fe5291b5a3ce1dcbbd0564aea4b62 /roundcubemail/program/steps/addressbook | |
| parent | e80ab69507e07470d1b983630dbc05416a8f98ee (diff) | |
Add groups support for LDAP address books, contributed by Andreas Dick
git-svn-id: https://svn.roundcube.net/trunk@4467 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/save.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/save.inc b/roundcubemail/program/steps/addressbook/save.inc index 5d8b53159..4eb24fe82 100644 --- a/roundcubemail/program/steps/addressbook/save.inc +++ b/roundcubemail/program/steps/addressbook/save.inc @@ -242,7 +242,7 @@ else { if ($insert_id) { // add new contact to the specified group - if ($CONTACTS->group_id) { + if ($CONTACTS->groups && $CONTACTS->group_id) { $plugin = $RCMAIL->plugins->exec_hook('group_addmembers', array('group_id' => $CONTACTS->group_id, 'ids' => $insert_id, 'source' => $source)); if (!$plugin['abort']) { |
