rabin 1 gadu atpakaļ
vecāks
revīzija
3b1c137c47
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);
     }
 
     # 插入数据