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();