diff --git a/htdocs/core/modules/mailings/contacts1.modules.php b/htdocs/core/modules/mailings/contacts1.modules.php
index 83e9e3ff277..9a9be018b79 100644
--- a/htdocs/core/modules/mailings/contacts1.modules.php
+++ b/htdocs/core/modules/mailings/contacts1.modules.php
@@ -120,7 +120,7 @@ class mailing_contacts1 extends MailingTargets
*/
public function formFilter()
{
- global $langs;
+ global $conf,$langs;
// Load translation files required by the page
$langs->loadLangs(array("commercial", "companies", "suppliers", "categories"));
@@ -305,11 +305,13 @@ class mailing_contacts1 extends MailingTargets
$s .= ajax_combobox("filter_category_supplier_contact");
- // Choose language
- require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
- $formadmin = new FormAdmin($this->db);
- $s .= ''.$langs->trans("DefaultLang").': ';
- $s .= $formadmin->select_language($langs->getDefaultLang(1), 'filter_lang', 0, 0, 1, 0, 0, '', 0, 0, 0, null, 1);
+ if (getDolGlobalInt('MAIN_MULTILANGS')) {
+ // Choose language
+ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
+ $formadmin = new FormAdmin($this->db);
+ $s .= ''.$langs->trans("DefaultLang").': ';
+ $s .= $formadmin->select_language($langs->getDefaultLang(1), 'filter_lang_thirdparties', 0, null, 1, 0, 0, '', 0, 0, 0, null, 1);
+ }
return $s;
}