1
This commit is contained in:
+2
-2
@@ -527,8 +527,8 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
|
|||||||
if (empty($param) || !is_array($param)) {
|
if (empty($param) || !is_array($param)) {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
foreach ($this->_oldAttributes as $key => $attribute) {
|
foreach ($param as $key => $attribute) {
|
||||||
$this->_oldAttributes[$key] = $this->_setter($key, $attribute);
|
$this->setOldAttribute($key, $attribute);
|
||||||
}
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user