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');
|
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']) {
|
||||||
|
|
Loading…
Reference in a new issue