2
0
forked from Wavyzz/dolibarr

Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur
2024-01-06 16:56:28 +01:00
10 changed files with 47 additions and 32 deletions

View File

@@ -1033,7 +1033,7 @@ if ($action == 'edit') {
}
}
// Test SPF default automatic email from
$defaultnoreplyemail = getDolGlobalString('MAIN_INFO_SOCIETE_MAIL');
$defaultnoreplyemail = getDolGlobalString('MAIN_MAIL_EMAIL_FROM');
if ($defaultnoreplyemail != $companyemail) { // We show if email differs
$dnsinfo = false;
if (!empty($defaultnoreplyemail) && function_exists('dns_get_record') && !getDolGlobalString('MAIN_DISABLE_DNS_GET_RECORD')) {