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,13 +1799,16 @@ 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) ||
|
||||||
$this->productManufacturer == '' ||
|
$this->productManufacturer == '' ||
|
||||||
$this->productManufacturer == 'file')
|
$this->productManufacturer == 'file')
|
||||||
|
@ -1217,14 +1217,17 @@ 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// store product name and software version for futher usage
|
// store product name and software version for futher usage
|
||||||
if ($_productName)
|
if ($_productName)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user