diff --git a/htdocs/compta/commande/liste.php b/htdocs/compta/commande/liste.php index 201c0c3b136..b2fa462313a 100644 --- a/htdocs/compta/commande/liste.php +++ b/htdocs/compta/commande/liste.php @@ -77,7 +77,7 @@ if (isset($_GET["status"])) if (isset($_GET["afacturer"])) { - $sql .= " AND p.fk_statut >=1 AND c.facture = 0"; + $sql .= " AND fk_statut >=1 AND c.facture = 0"; } if (strlen($_POST["sf_ref"]) > 0)