From 677ef5c6e61e1e3879c21414455392eb6b2cd34a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 1 Jun 2006 16:19:23 +0000 Subject: [PATCH] bugfix --- 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 c732f3a2093..1038b3d568d 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -918,7 +918,7 @@ class Commande * Propale associée */ $sql = 'SELECT cp.fk_propale'; - $sql .= 'FROM '.MAIN_DB_PREFIX.'co_pr WHERE fk_commande = '.$this->id; + $sql .= ' FROM '.MAIN_DB_PREFIX.'co_pr WHERE fk_commande = '.$this->id; if ($this->db->query($sql) ) { if ($this->db->num_rows())