mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
IcingaObjectFieldLoader: hooked fields should not
...clear defined ones. There used to be collisions fixes #1667
This commit is contained in:
parent
b9ff77b4bb
commit
72998e4307
@ -537,7 +537,7 @@ class IcingaObjectFieldLoader
|
||||
}
|
||||
|
||||
foreach ($this->loadHookedDataFieldForObject($object) as $id => $fields) {
|
||||
if (array_key_exists($id, $fields)) {
|
||||
if (array_key_exists($id, $result)) {
|
||||
foreach ($fields as $varName => $field) {
|
||||
$result[$id]->$varName = $field;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user