This commit is contained in:
holan20180123
2020-12-02 09:37:38 +08:00
parent 91368cc51f
commit fc1d7e4d3b
+3 -3
View File
@@ -1220,10 +1220,10 @@ class projectModel extends model
}
}
$aloneChildren = array();
foreach($children as $child) $aloneChildren = array_merge($child, $aloneChildren);
$orphan = array();
foreach($children as $child) $orphan = array_merge($child, $orphan);
return array_merge($parents, $aloneChildren);
return array_merge($parents, $orphan);
}
/**