mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Ensure to mostly fetch the item with an non zero user id
This commit is contained in:
parent
8d513d74be
commit
6c792588fd
2 changed files with 5 additions and 5 deletions
|
@ -902,7 +902,7 @@ function conversation_add_children($parents, $block_authors, $order) {
|
|||
foreach ($parents AS $parent) {
|
||||
$thread_items = dba::p(item_query()."AND `item`.`parent-uri` = ?
|
||||
AND `item`.`uid` IN (0, ?) $block_sql
|
||||
ORDER BY `item`.`commented` DESC" . $limit,
|
||||
ORDER BY `item`.`uid` ASC, `item`.`commented` DESC" . $limit,
|
||||
$parent['uri'], local_user());
|
||||
|
||||
$comments = dba::inArray($thread_items);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue