mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
Merge pull request #10782 from annando/display-uid
Prefer the local user when displaying items
This commit is contained in:
commit
0c53adfd72
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
|
|||
$page_uid = 0;
|
||||
|
||||
$parent = null;
|
||||
if (!empty($parent_uri_id)) {
|
||||
if (!local_user() && !empty($parent_uri_id)) {
|
||||
$parent = Post::selectFirst(['uid'], ['uri-id' => $parent_uri_id, 'wall' => true]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue