IcingaObject: fix "origins" names when showing...
...inherited properties fixes #1093
This commit is contained in:
parent
b3ae6ea68b
commit
15c26b97db
|
@ -1124,7 +1124,8 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||||
$vals['_INHERITED_'] = (object) array();
|
$vals['_INHERITED_'] = (object) array();
|
||||||
$vals['_ORIGINS_'] = (object) array();
|
$vals['_ORIGINS_'] = (object) array();
|
||||||
// $objects = $this->imports()->getObjects();
|
// $objects = $this->imports()->getObjects();
|
||||||
$objects = IcingaTemplateRepository::instanceByObject($this)->getTemplatesFor($this);
|
$objects = IcingaTemplateRepository::instanceByObject($this)
|
||||||
|
->getTemplatesIndexedByNameFor($this);
|
||||||
|
|
||||||
$get = 'get' . $what;
|
$get = 'get' . $what;
|
||||||
$getInherited = 'getInherited' . $what;
|
$getInherited = 'getInherited' . $what;
|
||||||
|
|
Loading…
Reference in New Issue