[-] BO : fix #PSFV-852 : url encoded incorrect when in the search there is specials character

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14611 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre committed 2012-04-12 14:00:53 +00:00
1 parent 728781929e
commit e6ab36e942
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -485,7 +485,7 @@ class LinkCore
if ($if_nb && $if_sort && $if_pagination) if ($if_nb && $if_sort && $if_pagination)
{ {
if (!is_array($value)) if (!is_array($value))
$vars[urlencode($k)] = urlencode($value); $vars[urlencode($k)] = $value;
else else
{ {
foreach (explode('&', http_build_query(array($k => $value))) as $key => $val) foreach (explode('&', http_build_query(array($k => $value))) as $key => $val)
+2 -2
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<module> <module>
<name>blocksupplier</name> <name>blocksupplier</name>
<displayName><![CDATA[Suppliers block]]></displayName> <displayName><![CDATA[Bloc fournisseurs]]></displayName>
<version><![CDATA[1]]></version> <version><![CDATA[1]]></version>
<description><![CDATA[Adds a block displaying suppliers.]]></description> <description><![CDATA[Ajoute un bloc affichant les fournisseurs.]]></description>
<author><![CDATA[PrestaShop]]></author> <author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[front_office_features]]></tab> <tab><![CDATA[front_office_features]]></tab>
<is_configurable>1</is_configurable> <is_configurable>1</is_configurable>