This commit is contained in:
2021-03-04 15:20:41 +08:00
parent 2de7962ecc
commit e0993f4f64
2 changed files with 1 additions and 5 deletions
-5
View File
@@ -296,15 +296,10 @@ class ActiveRecord extends BaseActiveRecord
private function runRelate(): array
{
$relates = [];
var_dump($this->_with);
if (empty($this->_with)) {
return $relates;
}
foreach ($this->_with as $val) {
var_dump($val);
$relates[$val] = $this->resolveObject($val);
}
return $relates;