Fix check for updated events
This commit is contained in:
parent
219a7a41a7
commit
6e018d536c
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ class calendar extends rcube_plugin
|
||||||
}
|
}
|
||||||
else if (in_array($status, array('ACCEPTED','TENTATIVE','DECLINED'))) {
|
else if (in_array($status, array('ACCEPTED','TENTATIVE','DECLINED'))) {
|
||||||
$html = html::div('rsvp-status ' . strtolower($status), $this->gettext('youhave'.strtolower($status)));
|
$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
|
$action = ''; // nothing to do here
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue