IcingaObject: opt in for recursion

fixes #1118
This commit is contained in:
Thomas Gelf 2017-08-25 15:00:07 +02:00
parent 5296f33bcc
commit 1b160c6c35
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
$vals['_ORIGINS_'] = (object) array();
// $objects = $this->imports()->getObjects();
$objects = IcingaTemplateRepository::instanceByObject($this)
->getTemplatesIndexedByNameFor($this);
->getTemplatesIndexedByNameFor($this, true);
$get = 'get' . $what;
$getInherited = 'getInherited' . $what;