[ticket/378] Add functional test and correct check in listener

B3P-378
This commit is contained in:
Marc Alexander
2014-09-24 23:59:08 +02:00
parent b739cce3eb
commit e9c8ffe28f
2 changed files with 71 additions and 1 deletions

View File

@@ -134,6 +134,6 @@ class listener implements EventSubscriberInterface
*/
protected function has_portal_access()
{
return $this->auth->acl_get('u_view_portal') && $this->config['board3_portal_enable'];
return $this->auth->acl_get('u_view_portal') && $this->config['board3_enable'];
}
}