]> git.mxchange.org Git - friendica.git/commitdiff
Added logging since this exixted before
authorMichael <heluecht@pirati.ca>
Sun, 17 Mar 2019 13:56:47 +0000 (13:56 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 17 Mar 2019 13:56:47 +0000 (13:56 +0000)
src/Protocol/ActivityPub/Processor.php

index 9fa16a91f72a32488cb976c908160f859e6fa936..de17770601d839ead9ba88e830bf1b6a0ea1e163 100644 (file)
@@ -270,6 +270,7 @@ class Processor
                                $item_private = !in_array(0, $activity['item_receiver']);
                                $parent = Item::selectFirst(['id', 'private', 'author-link', 'alias'], ['uri' => $item['thr-parent']]);
                                if (!DBA::isResult($parent)) {
+                                       Logger::warning('Unknown parent item.', ['uri' => $item['thr-parent']]);
                                        return false;
                                }
                                if ($item_private && !$parent['private']) {