From 17b6cb2724ae6afa81b61ec67d974891ab806e1b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 19 Jan 2023 13:23:08 +0100 Subject: [PATCH] Fix warning --- htdocs/core/modules/mailings/contacts1.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/mailings/contacts1.modules.php b/htdocs/core/modules/mailings/contacts1.modules.php index 09595b61376..eee3ee68e6c 100644 --- a/htdocs/core/modules/mailings/contacts1.modules.php +++ b/htdocs/core/modules/mailings/contacts1.modules.php @@ -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 .= ''.$langs->trans("DefaultLang").': ';