aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-29 07:57:47 +0000
committerMario <mario@mariovavti.com>2024-07-29 07:57:47 +0000
commit7394c97f23ce989abd5d4457f1422708e75a6b2e (patch)
tree3017f4c862d92b7dd6442747805f2a5585f7b554
parent33e45d98a3ab05b8270aee4a899a4b61ea4d5c24 (diff)
downloadvolse-hubzilla-7394c97f23ce989abd5d4457f1422708e75a6b2e.tar.gz
volse-hubzilla-7394c97f23ce989abd5d4457f1422708e75a6b2e.tar.bz2
volse-hubzilla-7394c97f23ce989abd5d4457f1422708e75a6b2e.zip
simplified syntax
-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 ae43a43b5..928c8c4bd 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -3464,7 +3464,7 @@ class Activity {
$ret[$collection] = $actor_record[$collection];
}
}
- if (array_path_exists('endpoints/sharedInbox', $actor_record) && $actor_record['endpoints']['sharedInbox']) {
+ if (!empty($actor_record['endpoints']['sharedInbox'])) {
$ret['sharedInbox'] = $actor_record['endpoints']['sharedInbox'];
}