diff options
author | Mario <mario@mariovavti.com> | 2020-04-15 08:43:28 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-15 08:43:28 +0000 |
commit | d6b9c8b93d5f04d986b1c9e61be9146d556f403a (patch) | |
tree | 39b870ff2dee1137301f772065251fb1f15079fb | |
parent | a7273668d8118407712750f588bb5d99cf0c4bb2 (diff) | |
download | volse-hubzilla-d6b9c8b93d5f04d986b1c9e61be9146d556f403a.tar.gz volse-hubzilla-d6b9c8b93d5f04d986b1c9e61be9146d556f403a.tar.bz2 volse-hubzilla-d6b9c8b93d5f04d986b1c9e61be9146d556f403a.zip |
Ãfix php warning
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 2 |
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; } |