2
0
forked from Wavyzz/dolibarr

Debug v16

This commit is contained in:
Laurent Destailleur
2022-05-20 23:34:58 +02:00
10 changed files with 32 additions and 19 deletions

View File

@@ -597,7 +597,7 @@ class CMailFile
}
$sendingmode = $this->sendmode;
if ($this->context == 'emailing' && !empty($conf->global->MAILING_NO_USING_PHPMAIL) && $sendingmode == 'mail') {
if ($this->sendcontext == 'emailing' && !empty($conf->global->MAILING_NO_USING_PHPMAIL) && $sendingmode == 'mail') {
// List of sending methods
$listofmethods = array();
$listofmethods['mail'] = 'PHP mail function';