rabin 1 年間 前
コミット
3b1c137c47
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lib/Relation.php

+ 1 - 1
lib/Relation.php

@@ -160,7 +160,7 @@ class Relation
             $method = 'getChild';
         }
         
-        return Dever::db(Dever::config('base')->invite)->$method($where);
+        return Dever::db($this->table)->$method($where);
     }
 
     # 插入数据