mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 00:34:05 +02:00
IcingaTemplateResolver: ignore multicolumn key...
...objects on refresh (for now) fixes #13081
This commit is contained in:
parent
1a311bc9a9
commit
5bae792901
@ -379,7 +379,10 @@ class IcingaTemplateResolver
|
||||
$parentNames = $object->imports;
|
||||
self::$nameIdx[$object->object_name] = $parentNames;
|
||||
if ($object->hasBeenLoadedFromDb()) {
|
||||
self::$idIdx[$object->getId()] = $this->getIdsForNames($parentNames);
|
||||
$id = $object->getId();
|
||||
if (! is_array($id)) {
|
||||
self::$idIdx[$id] = $this->getIdsForNames($parentNames);
|
||||
}
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user