From 356c4a53e55f8fca74dc8a9dbd335415a4ed1045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 4 Mar 2021 15:31:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/ActiveRecord.php | 5 +++++ 1 file changed, 5 insertions(+) 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; }