Correction register_global

This commit is contained in:
Rodolphe Quiedeville 2004-07-13 15:12:09 +00:00
parent db9a9f12ff
commit 9e64087f8e
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ if ($_GET["action"] == 'create')
*/
$projet = new Project($db);
$projet->fetch($id);
$projet->fetch($_GET["id"]);
$projet->societe->fetch($projet->societe->id);
$h=0;

View File

@ -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;