diff --git a/htdocs/projet/commandes.php b/htdocs/projet/commandes.php index 3bcdbcbe2d4..852a5978302 100644 --- a/htdocs/projet/commandes.php +++ b/htdocs/projet/commandes.php @@ -27,7 +27,7 @@ require("../commande/commande.class.php"); llxHeader("","../"); $projet = new Project($db); -$projet->fetch($id); +$projet->fetch($_GET["id"]); $h=0; $head[$h][0] = DOL_URL_ROOT.'/projet/fiche.php?id='.$projet->id; diff --git a/htdocs/projet/facture.php b/htdocs/projet/facture.php index 20b8a8ab42e..05d384ed6cc 100644 --- a/htdocs/projet/facture.php +++ b/htdocs/projet/facture.php @@ -28,7 +28,7 @@ require("../commande/commande.class.php"); llxHeader("","../"); $projet = new Project($db); -$projet->fetch($id); +$projet->fetch($_GET["id"]); $h=0; $head[$h][0] = DOL_URL_ROOT.'/projet/fiche.php?id='.$projet->id;