diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index a332b3be96f..0e88897d8e4 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -511,7 +511,7 @@ if ($_POST['action'] == 'send' && ! $_POST['addfile'] && ! $_POST['removedfile'] $result=$mailfile->sendfile(); if ($result) { - $mesg=$langs->trans('MailSuccessfulySent',$from,$sendto); + $mesg=$langs->trans('MailSuccessfulySent',$from,$sendto); // Must not contain " $error=0; diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 1763cc65748..84942a5d95f 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -889,7 +889,7 @@ if ($_POST['action'] == 'send' && ! $_POST['addfile'] && ! $_POST['removedfile'] $result=$mailfile->sendfile(); if ($result) { - $mesg='
'.$langs->trans('MailSuccessfulySent',$from,$sendto).'.
'; + $mesg=$langs->trans('MailSuccessfulySent',$from,$sendto); // Must not contains " $error=0; diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index abcfe00237b..b562c25e711 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1235,7 +1235,7 @@ if (($_POST['action'] == 'send' || $_POST['action'] == 'relance') && ! $_POST['a $result=$mailfile->sendfile(); if ($result) { - $mesg='
'.$langs->trans('MailSuccessfulySent',$from,$sendto).'.
'; + $mesg=$langs->trans('MailSuccessfulySent',$from,$sendto); // Must not contain " $error=0; diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index b8c898f650d..48d8d496b85 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -661,7 +661,7 @@ if ($_POST['action'] == 'send' && ! $_POST['addfile'] && ! $_POST['removedfile'] $result=$mailfile->sendfile(); if ($result) { - $mesg='
'.$langs->trans('MailSuccessfulySent',$from,$sendto).'.
'; + $mesg=$langs->trans('MailSuccessfulySent',$from,$sendto); // Must not contain " $error=0; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index d9aa5698be0..774fb102929 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -691,7 +691,7 @@ if ($_POST['action'] == 'send' && ! $_POST['addfile'] && ! $_POST['removedfile'] $result=$mailfile->sendfile(); if ($result) { - $mesg='
'.$langs->trans('MailSuccessfulySent',$from,$sendto).'.
'; + $mesg=$langs->trans('MailSuccessfulySent',$from,$sendto); // Must not contain " $error=0;