From 797d44f81655b6ca8c6b57a329bfcac969390635 Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 20 Dec 2023 18:03:36 +0800 Subject: [PATCH] eee --- Base/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/Model.php b/Base/Model.php index 496be30..c0501be 100644 --- a/Base/Model.php +++ b/Base/Model.php @@ -500,7 +500,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \ $condition[$key] = $attribute; unset($params[$key]); } else { - $oldPrams[$key] = $this->_oldAttributes[$attribute]; + $oldPrams[$key] = $this->_oldAttributes[$key]; } } return [$oldPrams, $condition, $params];