[-] Core: Fix language link with multishop from another shop #PSCFV-10063

This commit is contained in:
Rémi Gaillard
2013-08-14 11:25:46 +02:00
parent cecaee8e68
commit 3d591be8c6
3 changed files with 26 additions and 20 deletions
+3
View File
@@ -549,6 +549,9 @@ class DispatcherCore
if ($id_shop === null)
$id_shop = (int)Context::getContext()->shop->id;
if ($this->use_routes && !isset($this->routes[$id_shop]))
$this->loadRoutes($id_shop);
if (!isset($this->routes[$id_shop]) || !isset($this->routes[$id_shop][$id_lang]) || !isset($this->routes[$id_shop][$id_lang][$route_id]))
return false;