ObjectController: permissions are plural

This commit is contained in:
Thomas Gelf 2017-07-14 11:50:13 +02:00
parent fe822c3e31
commit 95e7b2bf0a
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ abstract class ObjectController extends ActionController
ucfirst($ltype)
);
} else {
$this->assertPermission('director/' . $ltype);
$this->assertPermission("director/${ltype}s");
$this->addTitle(
$this->translate('Add new Icinga %s'),
ucfirst($ltype)