|
@@ -44,7 +44,7 @@ class Relation
|
|
|
if ($child) {
|
|
|
foreach ($child as $k => $v) {
|
|
|
|
|
|
- $child_parent = $this->getParentAll($v['uid']);
|
|
|
+ $child_parent = $this->getParentAll($v['to_uid']);
|
|
|
if ($child_parent) {
|
|
|
foreach ($child_parent as $k1 => $v1) {
|
|
|
if ($v1['level'] > $v['level']) {
|