From 2912d77ae14b6726513a5da7da60076faa2402dc Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 11 Feb 2015 18:49:17 +0100 Subject: [PATCH] Fixed encoding of mail from name --- wcfsetup/install/files/lib/system/mail/Mail.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/mail/Mail.class.php b/wcfsetup/install/files/lib/system/mail/Mail.class.php index 31271f4bc8..44931a5a14 100644 --- a/wcfsetup/install/files/lib/system/mail/Mail.class.php +++ b/wcfsetup/install/files/lib/system/mail/Mail.class.php @@ -337,7 +337,7 @@ class Mail { */ public function setFrom($from) { if (is_array($from)) { - $this->from = self::buildAddress(key($from), current($from), false); + $this->from = self::buildAddress(key($from), current($from)); } else { $this->from = $from; -- 2.20.1