From dd43cbaf7dfc43b013724bd979ff0986bc8e72b7 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 21 Apr 2006 13:50:34 +0000 Subject: [PATCH] bugfix --- htdocs/comm/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index b6e9f4cf28b..61681ed2b34 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -339,7 +339,7 @@ if ($socidp > 0) $sql = "SELECT count(rowid) as nb"; $sql.= " FROM ".MAIN_DB_PREFIX."societe_adresse_livraison"; - $sql.= " WHERE fk_soc =".$objsoc->id; + $sql.= " WHERE fk_societe =".$objsoc->id; $resql = $db->query($sql); if ($resql)