DbObject: fix storing object multiple times
This commit is contained in:
parent
2bac3c682f
commit
14223712eb
|
@ -699,6 +699,7 @@ abstract class DbObject
|
|||
}
|
||||
$this->modifiedProperties = array();
|
||||
$this->hasBeenModified = false;
|
||||
$this->loadedProperties = $this->properties;
|
||||
$this->onStore();
|
||||
$this->loadedFromDb = true;
|
||||
return $result;
|
||||
|
|
Loading…
Reference in New Issue