Merge pull request #3941 from annando/children-merge
Some posts weren't shown
This commit is contained in:
commit
6ecc464a68
1 changed files with 2 additions and 2 deletions
|
@ -1536,8 +1536,8 @@ function conv_sort(array $item_list, $order)
|
||||||
*/
|
*/
|
||||||
foreach ($parents as $i => $parent) {
|
foreach ($parents as $i => $parent) {
|
||||||
$parents[$i]['children'] =
|
$parents[$i]['children'] =
|
||||||
get_item_children($item_array, $parent, $thread_allowed)
|
array_merge(get_item_children($item_array, $parent, $thread_allowed),
|
||||||
+ get_item_children($item_array, $parent, false);
|
get_item_children($item_array, $parent, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($parents as $i => $parent) {
|
foreach ($parents as $i => $parent) {
|
||||||
|
|
Loading…
Reference in a new issue