From d0e6904d68236c69883c7a26ff6b3b3203de9cce Mon Sep 17 00:00:00 2001 From: John Oleksowicz Date: Thu, 19 Oct 2023 12:12:13 -0500 Subject: [PATCH] Restore
to getCanNotSendError message MAILPOET-5631 --- mailpoet/lib/Mailer/Methods/ErrorMappers/MailPoetMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailpoet/lib/Mailer/Methods/ErrorMappers/MailPoetMapper.php b/mailpoet/lib/Mailer/Methods/ErrorMappers/MailPoetMapper.php index efc7c519e1..b25f4d7d65 100644 --- a/mailpoet/lib/Mailer/Methods/ErrorMappers/MailPoetMapper.php +++ b/mailpoet/lib/Mailer/Methods/ErrorMappers/MailPoetMapper.php @@ -232,7 +232,7 @@ class MailPoetMapper { private function getCanNotSendError(array $result, $sender): array { if ($result['error'] === API::ERROR_MESSAGE_PENDING_APPROVAL) { $operation = MailerError::OPERATION_PENDING_APPROVAL; - $message = $this->pendingApprovalNotice->getPendingApprovalMessage(); + $message = $this->pendingApprovalNotice->getPendingApprovalMessage() . '
'; return [$operation, $message]; }