Skip to content

Commit

Permalink
Merged isset()
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmayer committed Oct 2, 2016
1 parent 20cec49 commit a24c4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_finder/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function build(&$query)
* route, it only provides the option and the menu item id. We don't have
* to do anything to these routes.
*/
if (count($query) === 2 && isset($query['Itemid']) && isset($query['option']))
if (count($query) === 2 && isset($query['Itemid'], $query['option']))
{
return $segments;
}
Expand Down

0 comments on commit a24c4f8

Please sign in to comment.