From 6e018d536c44525f58df68651fef6d36a51fbd58 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 18 Oct 2012 22:02:04 +0200 Subject: [PATCH] Fix check for updated events --- plugins/calendar/calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index d82971b7..24ab5923 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 } }