Merge pull request #881 from snowflakeOps/master

Fix umlauts in MacOS mobileconfig generator
This commit is contained in:
André Peters 2018-01-16 09:23:05 +01:00 committed by GitHub
commit 1aac0b23dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ catch(PDOException $e) {
die("Failed to determine name from SQL"); die("Failed to determine name from SQL");
} }
if (!empty($MailboxData['name'])) { if (!empty($MailboxData['name'])) {
$displayname = utf8_encode($MailboxData['name']); $displayname = $MailboxData['name'];
} }
else { else {
$displayname = $email; $displayname = $email;