DbObject: reallySet should not risk magic lookups

This commit is contained in:
Thomas Gelf 2016-03-11 02:49:41 +01:00
parent 507dd176cc
commit c832ca4ade
1 changed files with 1 additions and 1 deletions

View File

@ -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;