dever %!s(int64=3) %!d(string=hai) anos
pai
achega
48934b170d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']) {