Debug v21

This commit is contained in:
Laurent Destailleur 2025-01-23 01:35:52 +01:00
parent 821565e031
commit 47da1b3242

View File

@ -476,7 +476,7 @@ if ($object->fetch($id) >= 0) {
}
print $text;
if (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') != 'default') {
if (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') != 'mail') {
if (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') && getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') != 'mail') {
print ' <span class="opacitymedium">('.getDolGlobalString('MAIN_MAIL_SMTP_SERVER_EMAILING', getDolGlobalString('MAIN_MAIL_SMTP_SERVER')).')</span>';
}
} elseif (getDolGlobalString('MAIN_MAIL_SENDMODE') != 'mail' && getDolGlobalString('MAIN_MAIL_SMTP_SERVER')) {
@ -678,7 +678,7 @@ if ($object->fetch($id) >= 0) {
print '<br>';
}
print '<br>';
print '<br><br>';
}
// List of selected targets