blob: e36f82b8c01682aeeee9e0b4939dd02845ff1cfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
commit 70e75d985f5c6a7bea67210e85e6c6c9fea783f9
Author: Leonardo Arena <rnalrd@alpinelinux.org>
Date: Fri Jun 12 09:21:47 2020 +0000
iconv ascii translit not supported
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index 16013555..6c95f97c 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -1428,7 +1428,7 @@ class Access extends LDAPUtility {
}
// Transliteration to ASCII
- $transliterated = @iconv('UTF-8', 'ASCII//TRANSLIT', $name);
+ $transliterated = @iconv('UTF-8', 'ASCII', $name);
if ($transliterated !== false) {
// depending on system config iconv can work or not
$name = $transliterated;
|