From: Florent Bruneau Date: Sat, 5 Jun 2010 16:58:02 +0000 (+0200) Subject: Accentuation changes are allowed. X-Git-Tag: xorg/1.0.0~174 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2c02af9f004732d392f8a204e6b098e5065e1b93;p=platal.git Accentuation changes are allowed. Signed-off-by: Florent Bruneau --- diff --git a/modules/profile/general.inc.php b/modules/profile/general.inc.php index 19a5e0e..5ba5a8f 100644 --- a/modules/profile/general.inc.php +++ b/modules/profile/general.inc.php @@ -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); }