From: Michael M Slusarz Date: Mon, 6 Apr 2009 16:54:35 +0000 (-0600) Subject: Bug #8148: Fix undefined variable X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5422827e9c03c935087214a3dc08902fda93a445;p=horde.git Bug #8148: Fix undefined variable --- diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index b02371626..f3451198e 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -1403,7 +1403,7 @@ class IMP_Compose return array( 'body' => $msg, - 'encoding' => $msg_text['encoding'], + 'encoding' => isset($msg_text) ? $msg_text['encoding'] : NLS::getCharset(), 'format' => $format, 'headers' => $header, 'identity' => $this->_getMatchingIdentity($h)