mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +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)
|
||||
{
|
||||
$contact['cat_id'] = $oldContact['cat_id'];
|
||||
$contact['cat_id'] = null;
|
||||
}
|
||||
if (is_array($oldContact))
|
||||
{
|
||||
|
@ -1343,7 +1343,7 @@ class calendar_ical extends calendar_boupdate
|
||||
else
|
||||
{
|
||||
// no merge
|
||||
if(!isset($this->supportedFields['category']) || !isset($event['category']))
|
||||
if(!isset($this->supportedFields['category']))
|
||||
{
|
||||
$event['category'] = $event_info['stored_event']['category'];
|
||||
}
|
||||
|
@ -712,7 +712,7 @@ class infolog_ical extends infolog_bo
|
||||
continue;
|
||||
}
|
||||
|
||||
$taskData = array();
|
||||
$taskData = array('info_cat' => $_taskID ? 0 : $GLOBALS['egw_info']['user']['preferences']['infolog']['cat_add_default']);
|
||||
|
||||
if ($_taskID > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user