diff options
Diffstat (limited to 'include/conversation.php')
-rwxr-xr-x | include/conversation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index 2ef37694d..9f564843e 100755 --- a/include/conversation.php +++ b/include/conversation.php @@ -986,8 +986,8 @@ function conv_sort($arr,$order) { usort($parents,'sort_thr_commented'); if(count($parents)) - foreach($parents as $x) - $x['children'] = array(); + foreach($parents as $i=>$_x) + $parents[$i]['children'] = array(); foreach($arr as $x) { if($x['id'] != $x['parent']) { |