mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
19 lines
689 B
Diff
19 lines
689 B
Diff
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;
|