diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 69990b1aca6..2b89be4ae0d 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1179,7 +1179,7 @@ else * * */ - if ($action == 'classer') + if ($_GET["action"] == 'classer') { print "

id\">\n"; print ''; @@ -1187,7 +1187,7 @@ else print 'Projet'; $proj = new Project($db); - $html->select_array("projetid",$proj->liste_array($socidp)); + $html->select_array("projetid",$proj->liste_array($soc->id)); print ""; print '

';