aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-15 08:43:28 +0000
committerMario <mario@mariovavti.com>2020-04-15 08:43:28 +0000
commitd6b9c8b93d5f04d986b1c9e61be9146d556f403a (patch)
tree39b870ff2dee1137301f772065251fb1f15079fb /Zotlabs
parenta7273668d8118407712750f588bb5d99cf0c4bb2 (diff)
downloadvolse-hubzilla-d6b9c8b93d5f04d986b1c9e61be9146d556f403a.tar.gz
volse-hubzilla-d6b9c8b93d5f04d986b1c9e61be9146d556f403a.tar.bz2
volse-hubzilla-d6b9c8b93d5f04d986b1c9e61be9146d556f403a.zip
Ãfix php warning
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/ThreadItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index dee7cda56..a5dd81d40 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -113,7 +113,7 @@ class ThreadItem {
if(intval($item['item_private']) && ($item['owner']['xchan_network'] === 'activitypub')) {
$recips = get_iconfig($item['parent'], 'activitypub', 'recips');
- if(! in_array($observer['xchan_url'], $recips['to']))
+ if(! is_array($recips['to']) || ! in_array($observer['xchan_url'], $recips['to']))
$privacy_warning = true;
}