DbObject: fix storing object multiple times

This commit is contained in:
Thomas Gelf 2016-02-25 19:57:08 +01:00
parent 2bac3c682f
commit 14223712eb
1 changed files with 1 additions and 0 deletions

View File

@ -699,6 +699,7 @@ abstract class DbObject
}
$this->modifiedProperties = array();
$this->hasBeenModified = false;
$this->loadedProperties = $this->properties;
$this->onStore();
$this->loadedFromDb = true;
return $result;