DbObject: reallySet should not risk magic lookups
This commit is contained in:
parent
507dd176cc
commit
c832ca4ade
|
@ -315,7 +315,7 @@ abstract class DbObject
|
|||
|
||||
protected function reallySet($key, $value)
|
||||
{
|
||||
if ($value === $this->$key) {
|
||||
if ($value === $this->properties[$key]) {
|
||||
return $this;
|
||||
}
|
||||
$this->hasBeenModified = true;
|
||||
|
|
Loading…
Reference in New Issue