eee
This commit is contained in:
+1
-1
@@ -513,7 +513,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
|
|||||||
public function getChanges(): array
|
public function getChanges(): array
|
||||||
{
|
{
|
||||||
if (!$this->isNewExample) {
|
if (!$this->isNewExample) {
|
||||||
return \array_uintersect_assoc($this->_oldAttributes, $this->_attributes);
|
return \array_intersect_assoc($this->_oldAttributes, $this->_attributes);
|
||||||
}
|
}
|
||||||
return $this->_attributes;
|
return $this->_attributes;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user