Skip to content

Commit

Permalink
Merge pull request #7407 from atm-florian/5.0
Browse files Browse the repository at this point in the history
fix : advance target emailing
  • Loading branch information
eldy committed Sep 15, 2017
2 parents 5d920be + 8b9b99a commit 97d5c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/comm/mailing/class/advtargetemailing.class.php
Expand Up @@ -474,7 +474,7 @@ function query_thirdparty($arrayquery)
$sql.= " LEFT OUTER JOIN " . MAIN_DB_PREFIX . "societe_commerciaux as saleman ON saleman.fk_soc=t.rowid ";
}
if (array_key_exists('cust_categ', $arrayquery)) {
$sql.= " LEFT OUTER JOIN " . MAIN_DB_PREFIX . "categorie_societe as custcateg ON custcateg.fk_societe=t.rowid ";
$sql.= " LEFT OUTER JOIN " . MAIN_DB_PREFIX . "categorie_societe as custcateg ON custcateg.fk_soc=t.rowid ";
}

if (!empty($arrayquery['cust_name'])) {
Expand Down

0 comments on commit 97d5c06

Please sign in to comment.