]> git.mxchange.org Git - friendica.git/blobdiff - include/conversation.php
New function to fetch item data especially for users
[friendica.git] / include / conversation.php
index 9730c4af9ddab8627f16985df062c1852e9a8fe8..97be7e9aa984436725c748be807553e14a06e574 100644 (file)
@@ -788,7 +788,7 @@ function conversation_add_children($parents, $block_authors, $order, $uid) {
                if ($block_authors) {
                        $condition[0] .= "AND NOT `author`.`hidden`";
                }
-               $thread_items = Item::select(local_user(), Item::DISPLAY_FIELDLIST, $condition, $params);
+               $thread_items = Item::selectForUser(local_user(), [], $condition, $params);
 
                $comments = dba::inArray($thread_items);