dever 3 năm trước cách đây
mục cha
commit
48934b170d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Relation.php

+ 1 - 1
lib/Relation.php

@@ -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']) {