Merge commit 'origin/fusionax' into account
[platal.git] / modules / search / classes.inc.php
index f1c095c..b117467 100644 (file)
@@ -650,7 +650,7 @@ class StringSField extends SField
      * imposées par l'utilisateur) */
     function length()
     {
-        $cleaned = replace_accent(strtolower($this->value));
+        $cleaned = strtolower(replace_accent($this->value));
         $length  = strlen(ereg_replace('[a-z0-9]', '', $cleaned));
         return strlen($this->value) - $length;
     }