ObjectController: fix adding single Host Templates

...to a Configuration Basket
This commit is contained in:
Thomas Gelf 2018-10-30 16:41:49 +01:00
parent f43c74dc8e
commit dce9770dcd
1 changed files with 1 additions and 2 deletions

View File

@ -313,7 +313,7 @@ abstract class ObjectController extends ActionController
if ($object instanceof IcingaServiceSet) {
$type = 'ServiceSet';
} elseif ($object->isTemplate()) {
$type = $this->getType() . 'Template';
$type = ucfirst($this->getType()) . 'Template';
} elseif ($object->isGroup()) {
$type = ucfirst($this->getType());
} else {
@ -526,7 +526,6 @@ abstract class ObjectController extends ActionController
/**
* @return IcingaObject
* @throws NotFoundError
* @throws \Zend_Controller_Response_Exception
*/
protected function requireObject()
{