From 1e245411333c2ee2a74fbf31b0ccdfb546497d17 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 8 Feb 2008 11:27:54 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20on=20n'affiche=20pas=20la=20description?= =?UTF-8?q?=20du=20produit=20dans=20le=20r=E9cap=20des=20exp=E9ditions=20c?= =?UTF-8?q?ar=20fait=20doublon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/commande/fiche.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/compta/commande/fiche.php b/htdocs/compta/commande/fiche.php index a5d91172fad..dc1571e7b76 100644 --- a/htdocs/compta/commande/fiche.php +++ b/htdocs/compta/commande/fiche.php @@ -510,7 +510,7 @@ if ($_GET["id"] > 0) { print '
'; - $sql = "SELECT cd.fk_product, cd.description, cd.rowid, cd.qty as qty_asked"; + $sql = "SELECT cd.fk_product, cd.rowid, cd.qty as qty_asked"; $sql .= ", ed.qty as qty_shipped, e.ref, ed.fk_expedition as expedition_id"; $sql .= ", ".$db->pdate("e.date_expedition")." as date_expedition"; if ($conf->livraison->enabled) $sql .= ", l.rowid as livraison_id, l.ref as livraison_ref"; @@ -562,7 +562,6 @@ if ($_GET["id"] > 0) print ''; print ''.img_object($langs->trans("ShowProduct"),"product").' '.$product->ref.' - '.$product->libelle; - if ($objp->description) print '
'.nl2br($objp->description); print ''; } else