This commit is contained in:
2026-04-23 00:19:10 +08:00
parent 0abc7c32f7
commit 959407a95e
+5 -3
View File
@@ -732,13 +732,15 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
$value = $this->_attributes[$name] ?? NULL;
return $this->withPropertyOverride($name, $value);
} else if (isset($this->_oldAttributes[$name])) {
}
if (isset($this->_oldAttributes[$name])) {
$value = $this->_oldAttributes[$name] ?? NULL;
return $this->withPropertyOverride($name, $value);
} else {
return parent::__get($name);
}
return parent::__get($name);
}