From e17d63335cbfc2fbd36947d400aaf05968211731 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 9 Feb 2006 10:39:30 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20de=20la=20liste=20des=20societes=20lors?= =?UTF-8?q?=20de=20la=20creation,=20exclusion=20des=20societe=20ayant=20un?= =?UTF-8?q?e=20maison=20m=E8re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/telephonie/contrat/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/telephonie/contrat/fiche.php b/htdocs/telephonie/contrat/fiche.php index 2d287cc66d5..e4276f5c47f 100644 --- a/htdocs/telephonie/contrat/fiche.php +++ b/htdocs/telephonie/contrat/fiche.php @@ -155,7 +155,7 @@ if ($_GET["action"] == 'create' && $user->rights->telephonie->ligne->creer) print 'Client'; $ff = array(); - $sql = "SELECT idp, nom, ville FROM ".MAIN_DB_PREFIX."societe WHERE client=1 ORDER BY nom "; + $sql = "SELECT idp, nom, ville FROM ".MAIN_DB_PREFIX."societe WHERE client=1 AND parent = 0 ORDER BY nom "; if ( $db->query( $sql) ) { $num = $db->num_rows();