Added logging since this exixted before
This commit is contained in:
parent
cec094c5b1
commit
75ec384fc3
1 changed files with 1 additions and 0 deletions
|
@ -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']) {
|
||||
|
|
Loading…
Reference in a new issue