mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
* Calendar/CalDAV: fixed recuring event disapeared from device, if a rejected recurrence existed and a change from an other user caused a reload (412 Precondition Failed)
This commit is contained in:
parent
46d0824029
commit
9d6375fb3c
@ -1160,7 +1160,7 @@ class calendar_bo
|
||||
elseif (!is_numeric($uid))
|
||||
{
|
||||
// if the owner only grants EGW_ACL_FREEBUSY we are not interested in the recources explicit rights
|
||||
if ($grant == EGW_ACL_FREEBUSY) break;
|
||||
if ($grant == EGW_ACL_FREEBUSY) continue;
|
||||
// if we have a resource as participant
|
||||
$resource = $this->resource_info($uid);
|
||||
$grant |= $resource['rights'];
|
||||
|
@ -1187,7 +1187,7 @@ class calendar_groupdav extends groupdav_handler
|
||||
{
|
||||
if (strpos($column=self::$path_attr,'_') === false) $column = 'cal_'.$column;
|
||||
|
||||
$event = $this->bo->read(array($column => $id, 'cal_deleted IS NULL'), null, true, 'server');
|
||||
$event = $this->bo->read(array($column => $id, 'cal_deleted IS NULL', 'cal_reference=0'), null, true, 'server');
|
||||
if ($event) $event = array_shift($event); // read with array as 1. param, returns an array of events!
|
||||
|
||||
if (!($retval = $this->bo->check_perms(EGW_ACL_FREEBUSY,$event, 0, 'server')))
|
||||
|
Loading…
Reference in New Issue
Block a user