From 9fc22b95d8da7680067d30623cfb7bea29c3ce61 Mon Sep 17 00:00:00 2001 From: opensides Date: Sat, 18 Sep 2004 09:54:26 +0000 Subject: [PATCH] changement de $projet->id = $_POST["id"]; en $projet->id = $_GET["id"]; a la ligne 71 permet d'effacer un projet --- htdocs/projet/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php index f85206fb2d1..2cbd6540f0f 100644 --- a/htdocs/projet/fiche.php +++ b/htdocs/projet/fiche.php @@ -68,7 +68,7 @@ if ($_POST["action"] == 'update' && $user->rights->projet->creer) if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == yes) { $projet = new Project($db); - $projet->id = $_POST["id"]; + $projet->id = $_GET["id"]; $projet->delete(); Header("Location: index.php"); }