From 0c1e1e1a8ccc26404aef20319962c255997ac645 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 25 Feb 2006 17:11:08 +0000 Subject: [PATCH] bugfix --- htdocs/expedition/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index 514994e921f..b922e59f781 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -613,7 +613,7 @@ else */ $sql = "SELECT ".$db->pdate("a.datea")." as da, a.note"; $sql .= " FROM ".MAIN_DB_PREFIX."actioncomm as a"; - $sql .= " WHERE a.fk_soc = ".$commande->socidp." AND a.fk_action in (9,10)"; + $sql .= " WHERE a.fk_soc = ".$commande->soc_id." AND a.fk_action in (9,10)"; $sql .= " AND a.fk_commande = ".$expedition->id; $resql = $db->query($sql);