Use predefined field lists

This commit is contained in:
Michael 2018-06-17 06:27:52 +00:00
commit 0280a46ab4
9 changed files with 54 additions and 40 deletions

View 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(), [], $condition, $params);
$thread_items = Item::select(local_user(), Item::DISPLAY_FIELDLIST, $condition, $params);
$comments = dba::inArray($thread_items);