ApplyRulesTable: fix restriction name

This commit is contained in:
Thomas Gelf 2017-07-14 11:40:22 +02:00
parent ee582b7106
commit e0667a1d9b
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class ApplyRulesTable extends ZfQueryBasedTable
{
$auth = Auth::getInstance();
$type = $this->type;
$restrictions = $auth->getRestrictions("director/$type/applyrule/filter-by-name");
$restrictions = $auth->getRestrictions("director/$type/apply/filter-by-name");
if (empty($restrictions)) {
return $query;
}