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())