diff --git a/library/Director/Data/Db/DbObject.php b/library/Director/Data/Db/DbObject.php index f940e108..0b2d4337 100644 --- a/library/Director/Data/Db/DbObject.php +++ b/library/Director/Data/Db/DbObject.php @@ -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;