mirror of
https://github.com/friendica/friendica
synced 2025-04-19 13:50:15 +00:00
Issue 11310: Show pinned posts when not logged in
This commit is contained in:
parent
7c282c597d
commit
a2a5f05a19
2 changed files with 3 additions and 3 deletions
|
@ -218,7 +218,7 @@ class Status extends BaseProfile
|
|||
} elseif ($profile['uid'] == local_user()) {
|
||||
$condition = [];
|
||||
}
|
||||
|
||||
|
||||
$pinned_items = Post::selectPinned($profile['uid'], ['uri-id', 'pinned'], $condition);
|
||||
$pinned = Post::toArray($pinned_items);
|
||||
$items = array_merge($items, $pinned);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue