mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix SyncML preferences
This commit is contained in:
parent
ae0bd0a0b7
commit
2b9198e8f7
@ -1799,11 +1799,14 @@ class calendar_ical extends calendar_boupdate
|
||||
{
|
||||
case 'G':
|
||||
case 'P':
|
||||
case 0:
|
||||
$owner = $this->user;
|
||||
}
|
||||
if (0 < (int)$owner && $this->check_perms(EGW_ACL_EDIT, 0, $owner))
|
||||
{
|
||||
$this->calendarOwner = $owner;
|
||||
break;
|
||||
default:
|
||||
if ((int)$owner && $this->check_perms(EGW_ACL_EDIT, 0, $owner))
|
||||
{
|
||||
$this->calendarOwner = $owner;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!isset($this->productManufacturer) ||
|
||||
|
@ -1217,11 +1217,14 @@ class calendar_sif extends calendar_boupdate
|
||||
{
|
||||
case 'G':
|
||||
case 'P':
|
||||
case 0:
|
||||
$owner = $this->user;
|
||||
}
|
||||
if (0 < (int)$owner && $this->check_perms(EGW_ACL_EDIT, 0, $owner))
|
||||
{
|
||||
$this->calendarOwner = $owner;
|
||||
break;
|
||||
default:
|
||||
if ((int)$owner && $this->check_perms(EGW_ACL_EDIT, 0, $owner))
|
||||
{
|
||||
$this->calendarOwner = $owner;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user