This commit is contained in:
Regis Houssin 2006-04-06 10:19:50 +00:00
parent b64a30cc67
commit ec151e707c

View File

@ -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)
{