From 1573becd85d24075d149449a238af523b312f700 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 13 Jul 2004 15:41:15 +0000 Subject: [PATCH] Modif Register Global --- htdocs/fichinter/fiche.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 6ad6ce2f3fa..c1f8bdfce19 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2002-2004 Rodolphe Quiedeville * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -319,12 +319,12 @@ if ($action == 'edit') * */ -if ($id) +if ($_GET["id"]) { print_fiche_titre("Fiche d'intervention",$mesg); $fichinter = new Fichinter($db); - if ( $fichinter->fetch($id) ) + if ($fichinter->fetch($_GET["id"])) { $fichinter->fetch_client();