From 23b138ddd0477ebf32afccec6c268adc91a7d7d4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 1 Oct 2024 10:52:59 +0200 Subject: [PATCH] Better readability of message --- htdocs/admin/mails.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index b37981b7c5f..f3c2872b181 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -1092,12 +1092,12 @@ if ($action == 'edit') { if (($dnstype == 'SPF' && stripos($info['txt'], 'v=spf') !== false) || ($dnstype == 'DMARC' && stripos($info['txt'], 'v=dmarc') !== false)) { $foundforemail++; - $text .= ($text ? '
' : '').'- '.$langs->trans("ActualMailDNSRecordFound", $dnstype, implode(', ', $listofemails), $info['txt']); + $text .= ($text ? '
' : '').'- '.$langs->trans("ActualMailDNSRecordFound", ''.$dnstype.'', ''.implode(', ', $listofemails).'', ''.$info['txt'].''); } } } if (!$foundforemail) { - $text .= ($text ? '
' : '').'- '.$langs->trans("ActualMailDNSRecordFound", $dnstype, implode(', ', $listofemails), ''.$langs->transnoentitiesnoconv("None").''); + $text .= ($text ? '
' : '').'- '.$langs->trans("ActualMailDNSRecordFound", ''.$dnstype.'', ''.implode(', ', $listofemails).'', ''.$langs->transnoentitiesnoconv("None").''); } } }