Skip to content

Commit

Permalink
Update legacyrouter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tonypartridge committed Nov 20, 2017
1 parent 8303e8f commit 45cc426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_content/helpers/legacyrouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function build(&$query, &$segments)

// Are we dealing with an article or category that is attached to a menu item?
if ($menuItem !== null
&& isset($menuItem->query['view'], $query['view'])
&& isset($menuItem->query['view'])
&& $menuItem->query['view'] == $query['view']
&& isset($menuItem->query['id'], $query['id'])
&& $menuItem->query['id'] == (int) $query['id'])
Expand Down

0 comments on commit 45cc426

Please sign in to comment.