Restore <br/> to getCanNotSendError message

MAILPOET-5631
This commit is contained in:
John Oleksowicz
2023-10-19 12:12:13 -05:00
committed by Aschepikov
parent 9f3cdab725
commit d0e6904d68

View File

@@ -232,7 +232,7 @@ class MailPoetMapper {
private function getCanNotSendError(array $result, $sender): array { private function getCanNotSendError(array $result, $sender): array {
if ($result['error'] === API::ERROR_MESSAGE_PENDING_APPROVAL) { if ($result['error'] === API::ERROR_MESSAGE_PENDING_APPROVAL) {
$operation = MailerError::OPERATION_PENDING_APPROVAL; $operation = MailerError::OPERATION_PENDING_APPROVAL;
$message = $this->pendingApprovalNotice->getPendingApprovalMessage(); $message = $this->pendingApprovalNotice->getPendingApprovalMessage() . '<br/>';
return [$operation, $message]; return [$operation, $message];
} }