Fix warning

This commit is contained in:
Laurent Destailleur 2023-01-19 13:23:08 +01:00
parent e78f59c8b6
commit 17b6cb2724

View File

@ -309,7 +309,7 @@ class mailing_contacts1 extends MailingTargets
// Choose language if multilangue active
if (@$conf->global->MAIN_MULTILANGS==1) {
if (getDolGlobalInt('MAIN_MULTILANGS') == 1) {
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
$formadmin = new FormAdmin($this->db);
$s .= '<span class="opacitymedium">'.$langs->trans("DefaultLang").':</span> ';