mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-06 10:39:21 +03:00
picky travis, added else statement
This commit is contained in:
parent
b6874c4a49
commit
9e49db2dd0
@ -448,8 +448,9 @@ 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);
|
||||
}
|
||||
$messageBody = iconv($parameters['charset'], self::$charset . self::$charsetFlag, $messageBody);
|
||||
}
|
||||
|
||||
if (strtolower($structure->subtype) === 'plain' || ($structure->type == 1 && strtolower($structure->subtype) !== 'alternative')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user