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

This commit is contained in:
lLefevre
2012-04-12 14:00:53 +00:00
parent c9a3d755b0
commit c56038c891
2 changed files with 3 additions and 3 deletions
+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>