From f1549539797aa8446ec67d3153dee52353c51dc5 Mon Sep 17 00:00:00 2001 From: JodliDev Date: Thu, 27 Apr 2023 12:41:56 +0200 Subject: [PATCH] Fix for #39 (color not sent in props) --- drivers/caldav/caldav_driver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/caldav/caldav_driver.php b/drivers/caldav/caldav_driver.php index 96c2dbe..71a2162 100644 --- a/drivers/caldav/caldav_driver.php +++ b/drivers/caldav/caldav_driver.php @@ -412,7 +412,7 @@ class caldav_driver extends calendar_driver $this->rc->user->ID, $source ? $source['source_id'] : null, $prop['name'], - $prop['color'], + isset($prop['color']) ? $prop['color'] : '#cc0000', $prop['showalarms']?1:0, $prop['caldav_url'], isset($prop["caldav_tag"]) ? $prop["caldav_tag"] : null,