mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Fix SyncML preferences
This commit is contained in:
parent
8687767403
commit
c9cd0f4ce4
@ -256,6 +256,7 @@ class addressbook_sif extends addressbook_bo
|
||||
$contact['owner'] = $GLOBALS['egw_info']['user']['account_primary_group'];
|
||||
break;
|
||||
case 'P':
|
||||
case 'N':
|
||||
case 0:
|
||||
$contact['owner'] = $this->user;
|
||||
break;
|
||||
|
@ -177,6 +177,7 @@ class addressbook_vcal extends addressbook_bo
|
||||
$contact['owner'] = $GLOBALS['egw_info']['user']['account_primary_group'];
|
||||
break;
|
||||
case 'P':
|
||||
case 'N':
|
||||
case 0:
|
||||
$contact['owner'] = $this->user;
|
||||
break;
|
||||
|
@ -1669,14 +1669,16 @@ class calendar_ical extends calendar_boupdate
|
||||
{
|
||||
case 'G':
|
||||
case 'P':
|
||||
case 0:
|
||||
$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;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!isset($this->productManufacturer) ||
|
||||
$this->productManufacturer == '' ||
|
||||
$this->productManufacturer == 'file')
|
||||
|
@ -1015,15 +1015,17 @@ class calendar_sif extends calendar_boupdate
|
||||
{
|
||||
case 'G':
|
||||
case 'P':
|
||||
case 0:
|
||||
$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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// store product name and software version for futher usage
|
||||
if ($_productName)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user