rabin 1 rok pred
rodič
commit
3b1c137c47
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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);
     }
 
     # 插入数据