Update contacts1.modules.php

This commit is contained in:
Laurent Destailleur 2022-04-29 17:57:55 +02:00 committed by GitHub
parent d98637c113
commit 3fb081a2fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;