mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
* CalDAV/CardDAV: allow removing categories
This commit is contained in:
parent
ffa1102687
commit
75403eea94
@ -628,7 +628,7 @@ class addressbook_groupdav extends Api\CalDAV\Handler
|
|||||||
}
|
}
|
||||||
elseif ($contactId > 0)
|
elseif ($contactId > 0)
|
||||||
{
|
{
|
||||||
$contact['cat_id'] = $oldContact['cat_id'];
|
$contact['cat_id'] = null;
|
||||||
}
|
}
|
||||||
if (is_array($oldContact))
|
if (is_array($oldContact))
|
||||||
{
|
{
|
||||||
|
@ -1343,7 +1343,7 @@ class calendar_ical extends calendar_boupdate
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// no merge
|
// no merge
|
||||||
if(!isset($this->supportedFields['category']) || !isset($event['category']))
|
if(!isset($this->supportedFields['category']))
|
||||||
{
|
{
|
||||||
$event['category'] = $event_info['stored_event']['category'];
|
$event['category'] = $event_info['stored_event']['category'];
|
||||||
}
|
}
|
||||||
|
@ -712,7 +712,7 @@ class infolog_ical extends infolog_bo
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$taskData = array();
|
$taskData = array('info_cat' => $_taskID ? 0 : $GLOBALS['egw_info']['user']['preferences']['infolog']['cat_add_default']);
|
||||||
|
|
||||||
if ($_taskID > 0)
|
if ($_taskID > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user