aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-23 20:23:17 +0000
committerMario <mario@mariovavti.com>2020-11-23 20:23:17 +0000
commitc648c38fb08c4f7aa9eee133d7f5f3efd32f9bd9 (patch)
tree6276855e7b441bf197fdf0aaf5638d09aa77a8f3 /Zotlabs
parent34d54fd3099217ccabcd812b1883ee7882caad77 (diff)
downloadvolse-hubzilla-c648c38fb08c4f7aa9eee133d7f5f3efd32f9bd9.tar.gz
volse-hubzilla-c648c38fb08c4f7aa9eee133d7f5f3efd32f9bd9.tar.bz2
volse-hubzilla-c648c38fb08c4f7aa9eee133d7f5f3efd32f9bd9.zip
fix warning
Diffstat (limited to 'Zotlabs')
-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 a655a895c..f805b92e7 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -800,7 +800,7 @@ class Activity {
$is_directmessage = false;
$recips = get_iconfig($i['parent'], 'activitypub', 'recips');
- if(in_array($i['author']['xchan_url'], $recips['to'])) {
+ if(array_path_exists('to', $recips) && in_array($i['author']['xchan_url'], $recips['to'])) {
$reply_url = $d[0]['xchan_url'];
$is_directmessage = true;
}