Merge pull request #11585 from annando/fix-display
Fix: Activities should be be able again on displayed posts
This commit is contained in:
commit
749130b226
|
@ -106,7 +106,7 @@ function display_init(App $a)
|
|||
}
|
||||
|
||||
if ($item['gravity'] != GRAVITY_PARENT) {
|
||||
$parent = Post::selectFirstForUser($item_user, $fields, ['uid' => $item['uid'], 'uri-id' => $item['parent-uri-id']]);
|
||||
$parent = Post::selectFirstForUser($item_user, $fields, ['uid' => [0, $item_user], 'uri-id' => $item['parent-uri-id']], ['order' => ['uid' => true]]);
|
||||
$item = $parent ?: $item;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user