This commit is contained in:
Regis Houssin 2006-04-21 13:50:34 +00:00
parent c95f84bb03
commit dd43cbaf7d

View File

@ -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)