mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
* CalDAV/CardDAV: allow removing categories
This commit is contained in:
parent
dad227865d
commit
a3a9761372
@ -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))
|
||||
{
|
||||
|
@ -1333,7 +1333,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'];
|
||||
}
|
||||
|
@ -694,7 +694,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