From 714bb25193ef903450109dde0915ecdaf454932e Mon Sep 17 00:00:00 2001 From: rGaillard Date: Thu, 13 Sep 2012 13:09:46 +0000 Subject: [PATCH] // Fix #PSCFV-4017 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17338 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Tools.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/Tools.php b/classes/Tools.php index 9c7072e4f..cfad3fbb5 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -973,6 +973,8 @@ class ToolsCore $str = mb_strtolower($str, 'utf-8'); $str = trim($str); + if (!function_exists('mb_strtolower')) + $str = Tools::replaceAccentedChars($str); // Remove all non-whitelist chars. $str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-\pL]/u', '', $str);