wasn't actually changed before

This commit is contained in:
Tobias Hößl 2012-02-28 13:01:58 +00:00
parent e55d13c2b4
commit 1204210c69
1 changed files with 2 additions and 2 deletions

View File

@ -976,8 +976,8 @@ function conv_sort($arr,$order) {
usort($parents,'sort_thr_commented'); usort($parents,'sort_thr_commented');
if(count($parents)) if(count($parents))
foreach($parents as $x) foreach($parents as $i=>$_x)
$x['children'] = array(); $parents[$i]['children'] = array();
foreach($arr as $x) { foreach($arr as $x) {
if($x['id'] != $x['parent']) { if($x['id'] != $x['parent']) {