Clean code
This commit is contained in:
parent
e0d7948d91
commit
3cc9467ee4
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ class CMailFile
|
|||
}
|
||||
}
|
||||
if (empty($this->sendmode)) {
|
||||
$this->sendmode = (getDolGlobalString('MAIN_MAIL_SENDMODE') ? $conf->global->MAIN_MAIL_SENDMODE : 'mail');
|
||||
$this->sendmode = getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail');
|
||||
}
|
||||
|
||||
// Add a Feedback-ID. Must be used for stats on spam report only.
|
||||
|
|
|
|||
Loading…
Reference in a new issue