From 61b31bf3099df15d6581a3fe546efca48bacba00 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 13 Jul 2004 15:19:11 +0000 Subject: [PATCH] Correction register_global --- htdocs/projet/commandes.php | 2 +- htdocs/projet/facture.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;