diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 855ccf78861..5a97b342900 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -395,7 +395,7 @@ if ($_POST["action"] == 'send' || $_POST["action"] == 'relance') if ( $mailfile->sendfile() ) { - $msg='
'.$langs->trans("MailSuccessfulySent",$sendto,$from).'.
'; + $msg='
'.$langs->trans("MailSuccessfulySent",$from,$sendto).'.
'; $sendto = htmlentities($sendto);