From: Michael M Slusarz Date: Wed, 28 Jul 2010 00:29:52 +0000 (-0600) Subject: Add missing charset parameter X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3983a5e8809294627f4ddeb45cac974ed261192b;p=horde.git Add missing charset parameter --- diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index 48dc42ae4..466e62caf 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -983,7 +983,7 @@ class IMP_Compose $old_error = error_reporting(0); $host = idn_to_ascii(Horde_String::convertCharset($host, $GLOBALS['registry']->getCharset(), 'UTF-8')); error_reporting($old_error); - } elseif (Horde_Mime::is8bit($ob['mailbox'])) { + } elseif (Horde_Mime::is8bit($ob['mailbox'], $GLOBALS['registry']->getCharset())) { throw new IMP_Compose_Exception(sprintf(_("Invalid character in e-mail address: %s."), $email)); }