modify plugin name

This commit is contained in:
2022-02-25 16:25:32 +08:00
parent 1079cab985
commit 80620e181b
+1 -1
View File
@@ -255,7 +255,7 @@ class ActiveQuery extends Component implements ISqlBuilder
*/
public function getWith(ModelInterface $model): ModelInterface
{
if (empty($this->with) || !is_array($this->with)) {
if (empty($this->with)) {
return $model;
}
return $model->setWith($this->with);