diff --git a/htdocs/fourn/contact.php b/htdocs/fourn/contact.php index a0c302ed9f6..e3f05d9f1a9 100644 --- a/htdocs/fourn/contact.php +++ b/htdocs/fourn/contact.php @@ -59,7 +59,7 @@ $offset = $limit * $page ; * */ -$sql = "SELECT s.idp, s.nom, st.libelle as stcomm, p.idp as cidp, p.name, p.firstname, p.email, p.phone "; +$sql = "SELECT s.idp, s.nom, st.libelle as stcomm, p.idp as cidp, p.name, p.firstname, p.email, p.phone "; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."socpeople as p, ".MAIN_DB_PREFIX."c_stcomm as st"; $sql .= " WHERE s.fk_stcomm = st.id AND s.fournisseur = 1 AND s.idp = p.fk_soc"; @@ -106,11 +106,10 @@ if ($result) { print "