mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-04-09 03:52:02 +00:00
picky travis, added else statement
This commit is contained in:
parent
b6874c4a49
commit
9e49db2dd0
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue