changement de $projet->id = $_POST["id"]; en $projet->id = $_GET["id"];

a la ligne 71 permet d'effacer un projet
This commit is contained in:
opensides 2004-09-18 09:54:26 +00:00
parent 472c1e4c2b
commit 9fc22b95d8

View File

@ -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");
}