mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
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…
x
Reference in New Issue
Block a user