From 3fb081a2fc9e93f692a65eb7da6a9b22df20c6d2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 29 Apr 2022 17:57:55 +0200 Subject: [PATCH] Update contacts1.modules.php --- htdocs/core/modules/mailings/contacts1.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/mailings/contacts1.modules.php b/htdocs/core/modules/mailings/contacts1.modules.php index 26de9f6359e..42e888fc90c 100644 --- a/htdocs/core/modules/mailings/contacts1.modules.php +++ b/htdocs/core/modules/mailings/contacts1.modules.php @@ -405,12 +405,12 @@ class mailing_contacts1 extends MailingTargets $sql .= " AND c3.label = '".$this->db->escape($filter_category_supplier)."'"; } - // Filter on language - if ($filter_lang <> '') { - $sql .= " AND sp.default_lang = '".$this->db->escape($filter_lang)."'"; - } + // Filter on language + if ($filter_lang != '') { + $sql .= " AND sp.default_lang = '".$this->db->escape($filter_lang)."'"; + } - // Filter on nature + // Filter on nature $key = $filter; //print "xx".$key;