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,9 +448,10 @@ class Message
|
|||||||
if (!empty($parameters['charset']) && $parameters['charset'] !== self::$charset) {
|
if (!empty($parameters['charset']) && $parameters['charset'] !== self::$charset) {
|
||||||
if (function_exists('mb_convert_encoding')) {
|
if (function_exists('mb_convert_encoding')) {
|
||||||
$messageBody = mb_convert_encoding($messageBody, self::$charset, $parameters['charset']);
|
$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')) {
|
if (strtolower($structure->subtype) === 'plain' || ($structure->type == 1 && strtolower($structure->subtype) !== 'alternative')) {
|
||||||
if (isset($this->plaintextMessage)) {
|
if (isset($this->plaintextMessage)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user