Skip to content

Commit

Permalink
Fix loosing current URL vars when in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
ggppdk committed Feb 6, 2018
1 parent 7a6806b commit c97fdce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/src/Router/SiteRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ protected function parseSefRoute(&$uri)
// If user not allowed to see default menu item then avoid notices
if (is_object($item))
{
// Set the information in the request
$vars = $item->query;
// Set query variables of default menu item into the request, keeping existing request variables
$vars = array_merge($vars, $item->query);

// Get the itemid
$vars['Itemid'] = $item->id;
Expand Down

0 comments on commit c97fdce

Please sign in to comment.