summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2012-10-18 20:02:04 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2012-10-18 20:02:04 (GMT)
commit6e018d536c44525f58df68651fef6d36a51fbd58 (patch)
tree9d160c9b41fee1694d0fa0afe4295111b1b20170
parent219a7a41a79c52be7f51478290099861fb9ec317 (diff)
downloadroundcubemail-plugins-kolab-6e018d536c44525f58df68651fef6d36a51fbd58.tar.gz
Fix check for updated events
-rw-r--r--plugins/calendar/calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php
index d82971b..24ab592 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -735,7 +735,7 @@ class calendar extends rcube_plugin
}
else if (in_array($status, array('ACCEPTED','TENTATIVE','DECLINED'))) {
$html = html::div('rsvp-status ' . strtolower($status), $this->gettext('youhave'.strtolower($status)));
- if ($existing['sequence'] > $event['sequence'] || (!$event['sequence'] && $existing['changed'] && $existing['changed'] > $event['changed'])) {
+ if ($existing['sequence'] >= $event['sequence'] || (!$event['sequence'] && $existing['changed'] && $existing['changed'] >= $event['changed'])) {
$action = ''; // nothing to do here
}
}