ObjectController: permissions are plural
This commit is contained in:
parent
fe822c3e31
commit
95e7b2bf0a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue