eee
This commit is contained in:
+5
-3
@@ -732,13 +732,15 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
|
|||||||
$value = $this->_attributes[$name] ?? NULL;
|
$value = $this->_attributes[$name] ?? NULL;
|
||||||
|
|
||||||
return $this->withPropertyOverride($name, $value);
|
return $this->withPropertyOverride($name, $value);
|
||||||
} else if (isset($this->_oldAttributes[$name])) {
|
}
|
||||||
|
|
||||||
|
if (isset($this->_oldAttributes[$name])) {
|
||||||
$value = $this->_oldAttributes[$name] ?? NULL;
|
$value = $this->_oldAttributes[$name] ?? NULL;
|
||||||
|
|
||||||
return $this->withPropertyOverride($name, $value);
|
return $this->withPropertyOverride($name, $value);
|
||||||
} else {
|
|
||||||
return parent::__get($name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return parent::__get($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user