[-] BO: Fix combinations creation on multistore

This commit is contained in:
rGaillard
2012-07-09 15:41:07 +00:00
parent 28fb99f1e9
commit 8b8069f024
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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];