[ticket/469] Enable portal on all pages in subsilver2 & add tests

B3P-469
This commit is contained in:
Marc Alexander
2015-02-14 22:21:10 +01:00
parent 9899d4fd3c
commit 8e85752c65
6 changed files with 102 additions and 4 deletions

View File

@@ -149,7 +149,7 @@ class listener implements EventSubscriberInterface
protected function display_portal()
{
// Check if we should show the portal
if (isset($this->config['board3_show_all_pages']))
if (isset($this->config['board3_show_all_pages']) && $this->config['board3_show_all_pages'])
{
$this->board3_controller->handle(array(
'left' => $this->config['board3_show_all_side'] == false,