rabin před 3 roky
rodič
revize
4cb56a1baf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Api.php

+ 1 - 1
src/Api.php

@@ -98,7 +98,7 @@ class Api
 	}
 
     # 获取某个用户的上级
-    public function getParentAll($uid, $level = 1)
+    public function getParentAll($uid, $level = false)
     {
         $relation = new Relation();
         $info = $relation->getParentAll($uid, $level);