From 5f66ad5bc593602153c037d42c25c70139185ab1 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 17 Jul 2024 13:22:17 +0000 Subject: fix php warning --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 9178dac39..ae43a43b5 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3271,7 +3271,7 @@ class Activity { return $content; } - if ($act['type'] === 'Event') { + if (isset($act['type']) && $act['type'] === 'Event') { $adjust = false; $event = []; $event['event_hash'] = $act['id']; -- cgit v1.2.3