Update html.formmail.class.php
This commit is contained in:
parent
32706f570d
commit
bd7df9869f
@ -1058,8 +1058,8 @@ class FormMail extends Form
|
|||||||
//if (! $this->errorstomail) $this->errorstomail=$this->frommail;
|
//if (! $this->errorstomail) $this->errorstomail=$this->frommail;
|
||||||
$errorstomail = (! empty($conf->global->MAIN_MAIL_ERRORS_TO) ? $conf->global->MAIN_MAIL_ERRORS_TO : $this->errorstomail);
|
$errorstomail = (! empty($conf->global->MAIN_MAIL_ERRORS_TO) ? $conf->global->MAIN_MAIL_ERRORS_TO : $this->errorstomail);
|
||||||
if ($this->witherrorstoreadonly) {
|
if ($this->witherrorstoreadonly) {
|
||||||
$out = '<input type="hidden" id="errorstomail" name="errorstomail" value="'.$errorstomail.'" />';
|
|
||||||
$out.= '<tr><td>'.$langs->trans("MailErrorsTo").'</td><td>';
|
$out.= '<tr><td>'.$langs->trans("MailErrorsTo").'</td><td>';
|
||||||
|
$out = '<input type="hidden" id="errorstomail" name="errorstomail" value="'.$errorstomail.'" />';
|
||||||
$out.= $errorstomail;
|
$out.= $errorstomail;
|
||||||
$out.= "</td></tr>\n";
|
$out.= "</td></tr>\n";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user