From e291b68931d77878ec930a24e5cdde49d4fb4378 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 14 Apr 2006 10:07:57 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20probl=E8me=20de=20droit=20sur=20la=20mod?= =?UTF-8?q?ification=20du=20projet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 61d1f4d4cb9..06bd02a5c71 100644 --- a/htdocs/projet/fiche.php +++ b/htdocs/projet/fiche.php @@ -40,7 +40,7 @@ if (!$user->rights->projet->lire) accessforbidden(); $projetid=''; if ($_GET["id"]) { $projetid=$_GET["id"]; } -if ($projetid == '' && ($_GET['action'] != "create" && $_POST['action'] != "add")) accessforbidden(); +if ($projetid == '' && ($_GET['action'] != "create" && $_POST['action'] != "add" && $_POST["action"] != "update" && !$_POST["cancel"])) accessforbidden(); if ($user->societe_id > 0) {