Fix: bug #16263
This commit is contained in:
parent
b64a30cc67
commit
ec151e707c
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user