diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index c05632a6715..415d4bee05a 100644 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -48,7 +48,6 @@ print ''; print '
'; $sql = "SELECT count(cf.rowid), fk_statut,"; -$sql.= " cf.rowid,cf.ref"; $sql.= " FROM ".MAIN_DB_PREFIX."societe as s,"; $sql.= " ".MAIN_DB_PREFIX."commande_fournisseur as cf"; $sql.= " WHERE cf.fk_soc = s.rowid "; diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index b1be1505c14..505a6d40896 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -111,8 +111,7 @@ else * */ $commande = new CommandeFournisseur($db); -$sql = "SELECT count(cf.rowid), fk_statut,"; -$sql.= " cf.rowid,cf.ref"; +$sql = "SELECT count(cf.rowid), fk_statut"; $sql.= " FROM ".MAIN_DB_PREFIX."societe as s,"; $sql.= " ".MAIN_DB_PREFIX."commande_fournisseur as cf"; $sql.= " WHERE cf.fk_soc = s.rowid ";