]> git.mxchange.org Git - friendica.git/commitdiff
Some posts weren't shown
authorMichael <heluecht@pirati.ca>
Fri, 24 Nov 2017 21:39:12 +0000 (21:39 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 24 Nov 2017 21:39:12 +0000 (21:39 +0000)
include/conversation.php

index 5e764e67069489dd31486ff9e2dc7ae42dd74a6f..c9571072209682f54d711fd8777bf4bb2a2ef8a2 100644 (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) {