From 666dce01bc415767cabe94071e3c19724f042d42 Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 20 Dec 2023 17:21:25 +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 9d17130..496be30 100644 --- a/Base/Model.php +++ b/Base/Model.php @@ -513,7 +513,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \ public function getChanges(): array { if (!$this->isNewExample) { - return \array_uintersect_assoc($this->_oldAttributes, $this->_attributes); + return \array_intersect_assoc($this->_oldAttributes, $this->_attributes); } return $this->_attributes; }