Fix setting status information in array.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 29 Oct 2009 04:42:26 +0000 (22:42 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 30 Oct 2009 04:37:45 +0000 (22:37 -0600)
imp/lib/Contents.php

index 64d49b2..c397ae1 100644 (file)
@@ -451,7 +451,7 @@ class IMP_Contents
                 $charset_upper = Horde_String::upper($mime_part->getCharset());
                 if (($charset_upper != 'US-ASCII') &&
                     ($charset_upper != $default_charset)) {
-                    $ret['status'][] = array(
+                    $ret[$mime_id]['status'][] = array(
                         'text' => array(
                             sprintf(_("This message was written in a character set (%s) other than your own."), htmlspecialchars($charset_upper)),
                             sprintf(_("If it is not displayed correctly, %s to open it in a new window."), $this->linkViewJS($mime_part, 'view_attach', _("click here")))