]> git.mxchange.org Git - friendica.git/commitdiff
Fix another fatal error
authorMichael <heluecht@pirati.ca>
Tue, 11 Jun 2019 06:02:18 +0000 (06:02 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 11 Jun 2019 06:02:18 +0000 (06:02 +0000)
src/Protocol/ActivityPub/Transmitter.php

index 06dbaee71f81f1c619a9e857dde8dd80c465cb01..5f33257113ddfd2e5b9d8e13f2f11a162f5b1784 100644 (file)
@@ -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'];
                                                                }
                                                        }