projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2124439
)
Add missing charset parameter
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 28 Jul 2010 00:29:52 +0000
(18:29 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 28 Jul 2010 00:35:07 +0000
(18:35 -0600)
imp/lib/Compose.php
patch
|
blob
|
history
diff --git
a/imp/lib/Compose.php
b/imp/lib/Compose.php
index
48dc42a
..
466e62c
100644
(file)
--- 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));
}