mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:02:54 +00:00
Fix for "Undefined index: uri-id""
This commit is contained in:
parent
92cf4879e5
commit
11406fd3b6
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class Processor
|
|||
|
||||
if (empty($activity['directmessage']) && ($item['thr-parent'] != $item['uri']) && ($item['gravity'] == GRAVITY_COMMENT)) {
|
||||
$item_private = !in_array(0, $activity['item_receiver']);
|
||||
$parent = Item::selectFirst(['id', 'private', 'author-link', 'alias'], ['uri' => $item['thr-parent']]);
|
||||
$parent = Item::selectFirst(['id', 'uri-id', 'private', 'author-link', 'alias'], ['uri' => $item['thr-parent']]);
|
||||
if (!DBA::isResult($parent)) {
|
||||
Logger::warning('Unknown parent item.', ['uri' => $item['thr-parent']]);
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue