From ec151e707c2fe5823234802fc64937db0031e65d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 6 Apr 2006 10:19:50 +0000 Subject: [PATCH] Fix: bug #16263 --- 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 b0289d2eb2d..878e9760e21 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 == '') accessforbidden(); +if ($projetid == '' && ($_GET['action'] != "create" && $_POST['action'] != "add")) accessforbidden(); if ($user->societe_id > 0) {