From: Michael Date: Tue, 11 Jun 2019 06:02:18 +0000 (+0000) Subject: Fix another fatal error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d8f01c49c12de4cba6515781d150ce1123206e3;hp=76a420fbe95915d94ffba310be664fa05a4c49a9;p=friendica.git Fix another fatal error --- diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 06dbaee71f..5f33257113 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -436,7 +436,7 @@ class Transmitter $data['to'][] = $profile['url']; } else { $data['cc'][] = $profile['url']; - if (!$item['private']) { + if (!$item['private'] && !empty($actor_profile['followers'])) { $data['cc'][] = $actor_profile['followers']; } }