From: Michael Date: Tue, 31 May 2022 17:49:08 +0000 (+0000) Subject: We should now always fetch the user posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=36b80eb704b34a72a61242f99dc9990804b59af1;p=friendica.git We should now always fetch the user posts --- diff --git a/mod/display.php b/mod/display.php index 580ff40fe8..57696ce076 100644 --- a/mod/display.php +++ b/mod/display.php @@ -106,7 +106,7 @@ function display_init(App $a) } if ($item['gravity'] != GRAVITY_PARENT) { - $parent = Post::selectFirstForUser($item_user, $fields, ['uid' => [$item['uid'], local_user()], 'uri-id' => $item['parent-uri-id']], ['order' => ['uid']]); + $parent = Post::selectFirstForUser($item_user, $fields, ['uid' => [0, $item_user], 'uri-id' => $item['parent-uri-id']], ['order' => ['uid' => true]]); $item = $parent ?: $item; }