Skip to content

Commit

Permalink
Do not unsed 'default' query layout if the menu item layout is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Narloch committed Nov 29, 2017
1 parent 92078fe commit 3d32326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Component/Router/Rules/StandardRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function build(&$query, &$segments)
}

// Get menu item layout
$mLayout = isset($item->query['layout']) ? $item->query['layout'] : 'default';
$mLayout = isset($item->query['layout']) ? $item->query['layout'] : null;

// Get all views for this component
$views = $this->router->getViews();
Expand Down

0 comments on commit 3d32326

Please sign in to comment.