* Calendar/CalDAV: fixed typo causing time range for sync into past and future to be shorter then default or explicilty set in preferences

This commit is contained in:
Ralf Becker 2013-05-16 12:26:59 +00:00
parent c496516f19
commit 5bc3440442

View File

@ -169,7 +169,7 @@ class calendar_groupdav extends groupdav_handler
{ {
$value = $name == 'start' ? self::PAST_LIMIT : self::FUTURE_LIMIT; $value = $name == 'start' ? self::PAST_LIMIT : self::FUTURE_LIMIT;
} }
$filter[$name] = $this->bo->now + 24*2600*($name == 'start' ? -1 : 1)*abs($value); $filter[$name] = $this->bo->now + 24*3600*($name == 'start' ? -1 : 1)*abs($value);
} }
if ($this->client_shared_uid_exceptions) // do NOT return (non-virtual) exceptions if ($this->client_shared_uid_exceptions) // do NOT return (non-virtual) exceptions
{ {