diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index b0d942d78ca..502a2dea032 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -441,7 +441,7 @@ class Commande * Lit une commande * */ - function fetch ($id) + function fetch($id) { $sql = 'SELECT c.rowid, c.date_creation, c.ref, c.fk_soc, c.fk_user_author, c.fk_statut, c.amount_ht, c.total_ht, c.total_ttc, c.tva'; $sql .= ', '.$this->db->pdate('c.date_commande').' as date_commande, c.fk_projet, c.remise_percent, c.source, c.facture, c.note, c.ref_client';