Fix for #39 (color not sent in props)

This commit is contained in:
JodliDev 2023-04-27 12:41:56 +02:00 committed by GitHub
parent 43c30995b0
commit f154953979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -412,7 +412,7 @@ class caldav_driver extends calendar_driver
$this->rc->user->ID, $this->rc->user->ID,
$source ? $source['source_id'] : null, $source ? $source['source_id'] : null,
$prop['name'], $prop['name'],
$prop['color'], isset($prop['color']) ? $prop['color'] : '#cc0000',
$prop['showalarms']?1:0, $prop['showalarms']?1:0,
$prop['caldav_url'], $prop['caldav_url'],
isset($prop["caldav_tag"]) ? $prop["caldav_tag"] : null, isset($prop["caldav_tag"]) ? $prop["caldav_tag"] : null,