1
0
Fork 0

New function to fetch item data especially for users

This commit is contained in:
Michael 2018-06-17 17:05:17 +00:00
commit 6e10de9284
19 changed files with 133 additions and 77 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(), Item::DISPLAY_FIELDLIST, $condition, $params);
$thread_items = Item::selectForUser(local_user(), [], $condition, $params);
$comments = dba::inArray($thread_items);