picky travis, added else statement

This commit is contained in:
Alex Kavon 2014-06-12 19:12:31 -06:00
parent b6874c4a49
commit 9e49db2dd0

View File

@ -448,9 +448,10 @@ class Message
if (!empty($parameters['charset']) && $parameters['charset'] !== self::$charset) {
if (function_exists('mb_convert_encoding')) {
$messageBody = mb_convert_encoding($messageBody, self::$charset, $parameters['charset']);
}
} else {
$messageBody = iconv($parameters['charset'], self::$charset . self::$charsetFlag, $messageBody);
}
}
if (strtolower($structure->subtype) === 'plain' || ($structure->type == 1 && strtolower($structure->subtype) !== 'alternative')) {
if (isset($this->plaintextMessage)) {