summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-02-04 13:49:31 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-02-04 13:49:31 (GMT)
commitbddefafb25a88d036183bfe789dbfc3c424e2079 (patch)
tree5b958352be896c04b5ed0f65303013d3e80b334d
parent5d9a4438eda9d1289bf8d067d4f85f5394d2d7b9 (diff)
downloadkolab-syncroton-bddefafb25a88d036183bfe789dbfc3c424e2079.tar.gz
Fix regression in read flag changes detection (#4463)
-rw-r--r--lib/kolab_sync_data_email.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kolab_sync_data_email.php b/lib/kolab_sync_data_email.php
index 48e8d0d..ce032de 100644
--- a/lib/kolab_sync_data_email.php
+++ b/lib/kolab_sync_data_email.php
@@ -845,10 +845,10 @@ class kolab_sync_data_email extends kolab_sync_data implements Syncroton_Data_ID
$modseq_data[$foldername] = $folder_data['HIGHESTMODSEQ'];
if ($modseq_data[$foldername] != $modseq[$foldername]) {
$modseq_update = true;
- }
- else if ($modseq && $modseq[$foldername]) {
- $modified = true;
- $filter_str .= " MODSEQ " . ($modseq[$foldername] + 1);
+ if ($modseq && $modseq[$foldername]) {
+ $modified = true;
+ $filter_str .= " MODSEQ " . ($modseq[$foldername] + 1);
+ }
}
}
}