From 2d10dd87e13d7b14a9e04641f7235aaba2078733 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Wed, 12 Sep 2012 12:21:49 +0000 Subject: [PATCH] [-] BO : function str2url fixed #PSCFV-4017 --- classes/Tools.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Tools.php b/classes/Tools.php index be4790c57..24f433440 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -981,7 +981,8 @@ class ToolsCore // If it was not possible to lowercase the string with mb_strtolower, we do it after the transformations. // This way we lose fewer special chars. - $str = strtolower($str); + if (!function_exists('mb_strtolower')) + $str = strtolower($str); return $str; }