// Small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11730 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -512,7 +512,8 @@ class DispatcherCore
|
||||
}
|
||||
}
|
||||
$url = preg_replace('#\{([^{}]+:)?[a-z0-9_]+?(:[^{}])?\}#', '', $url);
|
||||
$url .= '?'.http_build_query($add_param);
|
||||
if (count($add_param))
|
||||
$url .= '?'.http_build_query($add_param);
|
||||
}
|
||||
// Build a classic url index.php?controller=foo&...
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user