aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-17 13:22:17 +0000
committerMario <mario@mariovavti.com>2024-07-17 13:22:17 +0000
commit5f66ad5bc593602153c037d42c25c70139185ab1 (patch)
tree79f22d62f68ac9ade06665480a556818f06d425d /Zotlabs/Lib/Activity.php
parentaff11443b4a4e0810b6cdb2055e0a39ea8f4cf18 (diff)
downloadvolse-hubzilla-5f66ad5bc593602153c037d42c25c70139185ab1.tar.gz
volse-hubzilla-5f66ad5bc593602153c037d42c25c70139185ab1.tar.bz2
volse-hubzilla-5f66ad5bc593602153c037d42c25c70139185ab1.zip
fix php warning
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
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'];