diff --git a/classes/Tools.php b/classes/Tools.php index e0e91e3a1..22734207a 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -982,7 +982,7 @@ class ToolsCore if (function_exists('mb_strtolower')) $str = mb_strtolower($str, 'utf-8'); - elseif (!$allow_accented_chars) + if (!$allow_accented_chars) $str = Tools::replaceAccentedChars($str); // Remove all non-whitelist chars.