Skip to content
Snippets Groups Projects
Commit 4f57fd1f authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

No commit message

No commit message
parent f2c23e57
No related merge requests found
......@@ -46,6 +46,7 @@ class DataObject
}
// Set property value
if(is_scalar($value) || !$value || is_null($value)) {
if((string)$this->storage[$name] == $value) return;
if(isset($this->changeLog) && $this->changeLog->active) {
$this->changeLog->logChange(DataObjectChange::UPDATE, $name, (string)$this->storage[$name], $value);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment