This commit is contained in:
2023-12-20 17:21:25 +08:00
parent 8174848de6
commit 666dce01bc
+1 -1
View File
@@ -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;
}