mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
ExtensibleSet: do not load for loaded objects...
...w/o id (-> branch) refs #2711
This commit is contained in:
parent
27e7da9354
commit
35e90f7b60
@ -50,7 +50,7 @@ class ExtensibleSet
|
|||||||
$set->object = $object;
|
$set->object = $object;
|
||||||
$set->propertyName = $propertyName;
|
$set->propertyName = $propertyName;
|
||||||
|
|
||||||
if ($object->hasBeenLoadedFromDb()) {
|
if ($object->hasBeenLoadedFromDb() && $id = $object->get('id')) {
|
||||||
$set->loadFromDb();
|
$set->loadFromDb();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user