* Addressbook/REST API: categories were lost, when updating existing contacts

This commit is contained in:
ralf 2023-11-02 21:20:40 +02:00
parent 8544a807e3
commit a30ac656ba

View File

@ -796,9 +796,6 @@ class addressbook_groupdav extends Api\CalDAV\Handler
$contact['cat_id'] = $oldContact['cat_id']; $contact['cat_id'] = $oldContact['cat_id'];
} }
break; break;
default:
//
$contact['cat_id'] = null;
} }
} }
if (is_array($oldContact)) if (is_array($oldContact))