Solve the problem of repeating the siteview name twice by the router's build method #759
|
@ -56,7 +56,7 @@ class ###Component###Router extends JComponentRouterBase
|
|||
{
|
||||
$view = $query['view'];
|
||||
|
||||
if (empty($query['Itemid']))
|
||||
if (empty($query['Itemid']) && !(isset($view) && isset($query['id']) && ###ROUTER_BUILD_VIEWS###))
|
||||
{
|
||||
$segments[] = $query['view'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user