From e826b0b5e958324d8d94c16301bc800cfdbfa2aa Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 8 Feb 2006 16:18:45 +0000 Subject: [PATCH] Bugfix --- htdocs/telephonie/contrat/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/telephonie/contrat/index.php b/htdocs/telephonie/contrat/index.php index 3af219f8796..35f2bad111e 100644 --- a/htdocs/telephonie/contrat/index.php +++ b/htdocs/telephonie/contrat/index.php @@ -161,7 +161,7 @@ $sql .= " , ".MAIN_DB_PREFIX."societe_perms as sp"; $sql .= " WHERE c.fk_client_comm = s.idp"; $sql .= " AND c.fk_soc_facture = sf.idp"; -$sql .= " AND c.fk_client_comm = sp.fk_soc"; +$sql .= " AND c.fk_soc = sp.fk_soc"; $sql .= " AND sp.fk_user = ".$user->id." AND sp.pread = 1";