From 8f41d170a557dfd18caab7e7d8b2405b23b7b2e8 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 10 Jun 2024 09:45:33 +0000 Subject: fix wrong variable --- include/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/event.php b/include/event.php index 3beb15b7a..f8511cbe2 100644 --- a/include/event.php +++ b/include/event.php @@ -797,7 +797,7 @@ function parse_event_object($event_object_json) { $tz = $object['timezone'] ?? 'UTC'; $ev['summary'] = $object['summary'] ?? $object['name'] ?? ''; - $ev['description'] = html2bbcode($content['content']) ?? ''; + $ev['description'] = html2bbcode($object['content']) ?? ''; $ev['dtstart'] = $object['startTime'] ? datetime_convert('UTC', 'UTC', $object['startTime']) : ''; $ev['dtend'] = $object['endTime'] ? datetime_convert('UTC', 'UTC', $object['endTime']) : $ev['dtstart']; $ev['location'] = $object['location']['name'] ?? ''; -- cgit v1.2.3