mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
ObjectController: re-add object type hack
This commit is contained in:
parent
c7718ebd8f
commit
caa3f97048
@ -95,6 +95,7 @@ abstract class ObjectController extends ActionController
|
|||||||
|
|
||||||
if ($object->isTemplate()) {
|
if ($object->isTemplate()) {
|
||||||
$title = $this->translate('Modify Icinga %s template');
|
$title = $this->translate('Modify Icinga %s template');
|
||||||
|
$form->setObjectType('template'); // WHY??
|
||||||
} else {
|
} else {
|
||||||
$title = $this->translate('Modify Icinga %s');
|
$title = $this->translate('Modify Icinga %s');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user