// 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:
rGaillard
2011-12-22 23:36:31 +00:00
parent c209479a7f
commit d10418478d
+2 -1
View File
@@ -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