summaryrefslogtreecommitdiff
path: root/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2012-05-30 12:46:57 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2012-05-30 12:46:57 (GMT)
commit23833fb8371e4c7035e1d67746acfbb55f0bc482 (patch)
treecf391b88058d3f85957e1025e2c15373821eabce /plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
parent41910ec06170af085e6e2fc9c9dabb395474cd18 (diff)
downloadroundcubemail-plugins-kolab-23833fb8371e4c7035e1d67746acfbb55f0bc482.tar.gz
Don't trigger error when no group assignments need to be changed
Diffstat (limited to 'plugins/kolab_addressbook/lib/rcube_kolab_contacts.php')
-rw-r--r--plugins/kolab_addressbook/lib/rcube_kolab_contacts.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
index f880551..0d19e4e 100644
--- a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
+++ b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
@@ -851,6 +851,8 @@ class rcube_kolab_contacts extends rcube_addressbook
if ($added)
$saved = $this->storagefolder->save($list, 'distribution-list', $list['uid']);
+ else
+ $saved = true;
if (!$saved) {
raise_error(array(
@@ -859,6 +861,7 @@ class rcube_kolab_contacts extends rcube_addressbook
'message' => "Error saving distribution-list to Kolab server"),
true, false);
$added = false;
+ $this->set_error(self::ERROR_SAVING, 'errorsaving');
}
else {
$this->distlists[$gid] = $list;