wasn't actually changed before
This commit is contained in:
parent
e55d13c2b4
commit
1204210c69
1 changed files with 2 additions and 2 deletions
|
@ -976,8 +976,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']) {
|
||||
|
|
Loading…
Reference in a new issue