mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
legacy/ObjectApplyMatches: Fix fetchFlatObjectsByType using object
Instead of flat variables.
This commit is contained in:
parent
b6fd60a39f
commit
76d0ed22e7
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ abstract class ObjectApplyMatches
|
|||
}
|
||||
|
||||
$flat = $object->toPlainObject(true, false);
|
||||
static::flattenVars($object);
|
||||
static::flattenVars($flat);
|
||||
$objects[$object->getObjectName()] = $flat;
|
||||
}
|
||||
Benchmark::measure("ObjectApplyMatches: $type cache ready");
|
||||
|
|
|
|||
Loading…
Reference in a new issue