ObjectsTabs: fix typo

This commit is contained in:
Thomas Gelf 2017-09-28 11:01:02 +02:00
parent 07c4d3ceaa
commit 8a6480e40e
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class ObjectsTabs extends Tabs
}
if ($auth->hasPermission('director/admin') || (
$object->getShortTableName() === 'notifications' && $auth->hasPermission('director/notifications')
$object->getShortTableName() === 'notification' && $auth->hasPermission('director/notifications')
)) {
if ($object->supportsApplyRules()) {
$this->add('applyrules', array(