commit
698c1ea493
@ -1182,7 +1182,7 @@ class FormMail extends Form
|
|||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
//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 = getDolGlobalString('MAIN_MAIL_ERRORS_TO', (!empty($this->errorstomail) ? $this->errorstomail : ''));
|
||||||
if ($this->witherrorstoreadonly) {
|
if ($this->witherrorstoreadonly) {
|
||||||
$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 .= '<input type="hidden" id="errorstomail" name="errorstomail" value="'.$errorstomail.'" />';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user