1
1
Fork 0

Merge pull request #3941 from annando/children-merge

Some posts weren't shown
This commit is contained in:
Hypolite Petovan 2017-11-24 16:49:21 -05:00 committed by GitHub
commit 6ecc464a68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1536,8 +1536,8 @@ function conv_sort(array $item_list, $order)
*/
foreach ($parents as $i => $parent) {
$parents[$i]['children'] =
get_item_children($item_array, $parent, $thread_allowed)
+ get_item_children($item_array, $parent, false);
array_merge(get_item_children($item_array, $parent, $thread_allowed),
get_item_children($item_array, $parent, false));
}
foreach ($parents as $i => $parent) {