DbObject: reset modified properties when loaded
This commit is contained in:
parent
1ee81fe498
commit
a17e0eeb23
|
@ -616,6 +616,7 @@ abstract class DbObject
|
|||
$this->loadedFromDb = true;
|
||||
$this->loadedProperties = $this->properties;
|
||||
$this->hasBeenModified = false;
|
||||
$this->modifiedProperties = array();
|
||||
$this->onLoadFromDb();
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue