aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-06-10 09:45:33 +0000
committerMario <mario@mariovavti.com>2024-06-10 09:45:33 +0000
commit8f41d170a557dfd18caab7e7d8b2405b23b7b2e8 (patch)
tree360166edac7248b93346dea703fbd94b87758d38
parentd9e97a7c1f24ab6f64d60adddb4ddce72105fa72 (diff)
downloadvolse-hubzilla-8f41d170a557dfd18caab7e7d8b2405b23b7b2e8.tar.gz
volse-hubzilla-8f41d170a557dfd18caab7e7d8b2405b23b7b2e8.tar.bz2
volse-hubzilla-8f41d170a557dfd18caab7e7d8b2405b23b7b2e8.zip
fix wrong variable
-rw-r--r--include/event.php2
1 files changed, 1 insertions, 1 deletions
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'] ?? '';