From caa3f97048d6766d8575aa80d9c4bac1846d76cd Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 31 Jul 2015 17:33:05 +0200 Subject: [PATCH] ObjectController: re-add object type hack --- library/Director/Web/Controller/ObjectController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Director/Web/Controller/ObjectController.php b/library/Director/Web/Controller/ObjectController.php index 0d7b077e..c7191e2c 100644 --- a/library/Director/Web/Controller/ObjectController.php +++ b/library/Director/Web/Controller/ObjectController.php @@ -95,6 +95,7 @@ abstract class ObjectController extends ActionController if ($object->isTemplate()) { $title = $this->translate('Modify Icinga %s template'); + $form->setObjectType('template'); // WHY?? } else { $title = $this->translate('Modify Icinga %s'); }