mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 13:22:06 +02: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 'G':
|
||||||
case 'P':
|
case 'P':
|
||||||
|
case 0:
|
||||||
$owner = $this->user;
|
$owner = $this->user;
|
||||||
}
|
break;
|
||||||
if (0 < (int)$owner && $this->check_perms(EGW_ACL_EDIT, 0, $owner))
|
default:
|
||||||
{
|
if ((int)$owner && $this->check_perms(EGW_ACL_EDIT, 0, $owner))
|
||||||
$this->calendarOwner = $owner;
|
{
|
||||||
|
$this->calendarOwner = $owner;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!isset($this->productManufacturer) ||
|
if (!isset($this->productManufacturer) ||
|
||||||
|
@ -1217,11 +1217,14 @@ class calendar_sif extends calendar_boupdate
|
|||||||
{
|
{
|
||||||
case 'G':
|
case 'G':
|
||||||
case 'P':
|
case 'P':
|
||||||
|
case 0:
|
||||||
$owner = $this->user;
|
$owner = $this->user;
|
||||||
}
|
break;
|
||||||
if (0 < (int)$owner && $this->check_perms(EGW_ACL_EDIT, 0, $owner))
|
default:
|
||||||
{
|
if ((int)$owner && $this->check_perms(EGW_ACL_EDIT, 0, $owner))
|
||||||
$this->calendarOwner = $owner;
|
{
|
||||||
|
$this->calendarOwner = $owner;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user