// Fix Link::getLanguageLink() #PSFV-305
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12031 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+4
-4
@@ -401,13 +401,13 @@ class LinkCore
|
|||||||
$request = str_replace($rewrite, $url_rewrite, $request);
|
$request = str_replace($rewrite, $url_rewrite, $request);
|
||||||
}
|
}
|
||||||
|
|
||||||
parse_str($_SERVER['QUERY_STRING'], $queryTab);
|
$params = $_GET;
|
||||||
unset($queryTab['isolang'], $queryTab['controller']);
|
unset($params['isolang'], $params['controller']);
|
||||||
|
|
||||||
if (!$this->allow)
|
if (!$this->allow)
|
||||||
$queryTab['id_lang'] = $id_lang;
|
$params['id_lang'] = $id_lang;
|
||||||
|
|
||||||
return $this->getPageLink(Dispatcher::getInstance()->getController(), false, $id_lang, $queryTab);
|
return $this->getPageLink(Dispatcher::getInstance()->getController(), false, $id_lang, $params);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function goPage($url, $p)
|
public function goPage($url, $p)
|
||||||
|
|||||||
Reference in New Issue
Block a user