diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index 452f3b089eb..d56e5b1e22a 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -399,6 +399,7 @@ $sql.= " s.email, s.phone, s.url, s.siren as idprof1, s.siret as idprof2, s.ape $sql.= " s.tms as date_update, s.datec as date_creation,"; $sql.= " s.code_compta,s.code_compta_fournisseur,"; $sql.= " typent.code as typent_code,"; +$sql.= " country.code as country_code,"; $sql.= " state.code_departement as state_code, state.nom as state_name,"; $sql.= " region.code_region as region_code, region.nom as region_name"; // We'll need these fields in order to filter by sale (including the case where the user can only see his prospects) @@ -1091,8 +1092,7 @@ while ($i < min($num, $limit)) } if (! empty($arrayfields['s.phone']['checked'])) { - $tmpcode=getCountry($obj->fk_pays,2); - print "