diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index a38a902e..b410d846 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -296,6 +296,11 @@ class ActiveRecord extends BaseActiveRecord private function runRelate(): array { $relates = []; + + echo '--------------->' . PHP_EOL; + var_dump($this->_with, get_called_class()); + echo '<---------------' . PHP_EOL; + if (empty($this->_with)) { return $relates; }