summaryrefslogtreecommitdiff
path: root/plugins/libkolab/lib/kolab_storage_config.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-10-13 14:03:23 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-10-13 14:03:23 (GMT)
commit80f23d7d9074b57f879fb4077db648a7a5b3666f (patch)
tree48843717b39b7e3c5a5e946a67ec47810aa959ae /plugins/libkolab/lib/kolab_storage_config.php
parentff139fe6627102033dc54c2ab7894b85e028e452 (diff)
downloadroundcubemail-plugins-kolab-80f23d7d9074b57f879fb4077db648a7a5b3666f.tar.gz
Fix email reference check in relation objects
Diffstat (limited to 'plugins/libkolab/lib/kolab_storage_config.php')
-rw-r--r--plugins/libkolab/lib/kolab_storage_config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/libkolab/lib/kolab_storage_config.php b/plugins/libkolab/lib/kolab_storage_config.php
index 915e25c..293d524 100644
--- a/plugins/libkolab/lib/kolab_storage_config.php
+++ b/plugins/libkolab/lib/kolab_storage_config.php
@@ -780,7 +780,7 @@ class kolab_storage_config
// get UIDs of assigned notes
foreach ($this->get_objects($filter, $default) as $relation) {
// we don't need to update members if the URI is found
- if (in_array($uri, $relation['members'])) {
+ if (!in_array($uri, $relation['members'])) {
// update members...
$messages = kolab_storage_config::resolve_members($relation);
// ...and check again
@@ -789,7 +789,7 @@ class kolab_storage_config
}
}
- // find note UID(s)
+ // find groupware object UID(s)
foreach ($relation['members'] as $member) {
if (strpos($member, 'urn:uuid:') === 0) {
$uids[] = substr($member, 9);