// Fixed urls when using non-ajax cart
This commit is contained in:
@@ -372,7 +372,11 @@ class LinkCore
|
|||||||
$id_lang = (int)Context::getContext()->language->id;
|
$id_lang = (int)Context::getContext()->language->id;
|
||||||
|
|
||||||
if (!is_array($request))
|
if (!is_array($request))
|
||||||
|
{
|
||||||
|
// @FIXME html_entity_decode has been added due to '&' => '%3B' ...
|
||||||
|
$request = html_entity_decode($request);
|
||||||
parse_str($request, $request);
|
parse_str($request, $request);
|
||||||
|
}
|
||||||
unset($request['controller']);
|
unset($request['controller']);
|
||||||
|
|
||||||
$uri_path = Dispatcher::getInstance()->createUrl($controller, $request);
|
$uri_path = Dispatcher::getInstance()->createUrl($controller, $request);
|
||||||
|
|||||||
Reference in New Issue
Block a user