parent
e33791b50f
commit
5aa9738b55
|
@ -85,7 +85,7 @@ class ConfigController extends Controller
|
|||
public function indexAction()
|
||||
{
|
||||
if ($this->firstAllowedAction === null) {
|
||||
throw new SecurityException('No permission for configuration');
|
||||
throw new SecurityException($this->translate('No permission for configuration'));
|
||||
}
|
||||
$action = $this->getTabs()->get($this->firstAllowedAction);
|
||||
if (substr($action->getUrl()->getPath(), 0, 7) === 'config/') {
|
||||
|
|
Loading…
Reference in New Issue