Accentuation changes are allowed.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 5 Jun 2010 16:58:02 +0000 (18:58 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 5 Jun 2010 16:58:02 +0000 (18:58 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/profile/general.inc.php

index 19a5e0e..5ba5a8f 100644 (file)
@@ -38,7 +38,7 @@ class ProfileSettingSearchNames implements ProfileSetting
 
     private function prepareField($value)
     {
-        $value = mb_strtoupper($value);
+        $value = mb_strtoupper(replace_accent($value));
         return preg_replace('/[^A-Z]/', ' ', $value);
     }