[-] BO: Fix combinations creation on multistore
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16292 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -564,7 +564,7 @@ class DispatcherCore
|
||||
if (!isset($this->routes[$id_lang][$route_id]))
|
||||
{
|
||||
$query = http_build_query($params, '', '&');
|
||||
$index_link = Configuration::get('PS_REWRITING_SETTINGS') ? '' : 'index.php';
|
||||
$index_link = $this->use_routes ? '' : 'index.php';
|
||||
return ($route_id == 'index') ? $index_link.(($query) ? '?'.$query : '') : 'index.php?controller='.$route_id.(($query) ? '&'.$query : '').$anchor;
|
||||
}
|
||||
$route = $this->routes[$id_lang][$route_id];
|
||||
|
||||
Reference in New Issue
Block a user