From 5422827e9c03c935087214a3dc08902fda93a445 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 6 Apr 2009 10:54:35 -0600 Subject: [PATCH] Bug #8148: Fix undefined variable --- imp/lib/Compose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0