Skip to content

Commit be5455a

Browse files
author
Roman Lytvynenko
committed
MC-21481: TransportBuilder doesn't add "to" email-addresses, if given in array
1 parent 71c781d commit be5455a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/Mail/Template/TransportBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@ private function addAddressByType(string $addressType, $email, ?string $name = n
427427
$this->messageData[$addressType],
428428
$convertedAddressArray
429429
);
430+
} else {
431+
$this->messageData[$addressType] = $convertedAddressArray;
430432
}
431433
}
432434
}

0 commit comments

Comments
 (0)