From cfb5481df04066be345d0239fa4e37187e7cd9bb Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 13 Feb 2006 17:38:21 +0000 Subject: [PATCH] bugfix : mauvais appel en base --- htdocs/commande/commande.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 1f2bd1eb7a6..001675053ef 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -557,7 +557,7 @@ class Commande // exp pdf ----------- $this->lignes = array(); $sql = 'SELECT l.fk_product, l.description, l.price, l.qty, l.rowid, l.tva_tx, l.remise_percent, l.subprice,'; - $sql.= ' p.label as product, p.description as product_desc, p.ref, p.fk_product_type, p.rowid as prodid'; + $sql.= ' p.label, p.description as product_desc, p.ref, p.fk_product_type, p.rowid as prodid'; $sql.= ' FROM '.MAIN_DB_PREFIX.'commandedet as l'; $sql.= ' LEFT JOIN '.MAIN_DB_PREFIX.'product as p ON l.fk_product=p.rowid'; $sql.= ' WHERE l.fk_commande = '.$this->id;