From 203eda17ad237fbe7b352acd2dce2263b359fc59 Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 10 Jul 2023 11:26:35 +0800 Subject: [PATCH] qqq --- Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model.php b/Model.php index e698c20..59ce3a6 100644 --- a/Model.php +++ b/Model.php @@ -197,7 +197,7 @@ class Model extends Base\Model public function delete(): bool { if ($this->beforeDelete()) { - $result = static::deleteByCondition($this->_attributes); + $result = static::deleteByCondition($this->_attributes, $this->_attributes); return $this->afterDelete($result); } else {