mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-29 16:43:42 +00:00
Added isset() check to prevent PHP notice
git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@9755 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
parent
1d68b5b49f
commit
f1c69cebf1
|
@ -217,7 +217,7 @@ class JRouterSite extends JRouter
|
|||
/*
|
||||
* Parse the component route
|
||||
*/
|
||||
if(!empty($route))
|
||||
if(!empty($route) && isset($this->_vars['option']) )
|
||||
{
|
||||
$segments = explode('/', $route);
|
||||
array_shift($segments);
|
||||
|
|
Loading…
Reference in New Issue
Block a user