Restore <br/> to getCanNotSendError message
MAILPOET-5631
This commit is contained in:
committed by
Aschepikov
parent
9f3cdab725
commit
d0e6904d68
@@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user