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];