diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index b643f1dfcb9..66cff43e562 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -1056,12 +1056,12 @@ class FormMail extends Form //if (! $this->errorstomail) $this->errorstomail=$this->frommail; $errorstomail = (! empty($conf->global->MAIN_MAIL_ERRORS_TO) ? $conf->global->MAIN_MAIL_ERRORS_TO : $this->errorstomail); if ($this->witherrorstoreadonly) { - $out.= ''.$langs->trans("MailErrorsTo").''; - $out = ''; + $out= ''.$langs->trans("MailErrorsTo").''; + $out.= ''; $out.= $errorstomail; $out.= "\n"; } else { - $out.= ''.$langs->trans("MailErrorsTo").''; + $out= ''.$langs->trans("MailErrorsTo").''; $out.= ''; $out.= "\n"; }