Browse Source

Fix warning

Laurent Destailleur 2 năm trước cách đây
mục cha
commit
17b6cb2724
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      htdocs/core/modules/mailings/contacts1.modules.php

+ 1 - 1
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 .= '<span class="opacitymedium">'.$langs->trans("DefaultLang").':</span> ';