From bf520f712508777c41fd9ac7d79c8e0ff4bafff8 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 25 Feb 2006 17:08:13 +0000 Subject: [PATCH] bugfix --- htdocs/expedition/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index 9382b872989..514994e921f 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -613,8 +613,8 @@ 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 .= " AND a.fk_commande = $expedition->id"; + $sql .= " WHERE a.fk_soc = ".$commande->socidp." AND a.fk_action in (9,10)"; + $sql .= " AND a.fk_commande = ".$expedition->id; $resql = $db->query($sql); if ($resql)