Fix: Pb acces trop restrictif
This commit is contained in:
parent
2eaf78b89c
commit
75b5f8665e
@ -47,7 +47,7 @@ if ($user->societe_id > 0)
|
||||
}
|
||||
|
||||
// Protection restriction commercial
|
||||
if ($projetid)
|
||||
if ($projetid && !$user->rights->commercial->client->voir)
|
||||
{
|
||||
$sql = "SELECT p.rowid, p.fk_soc";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe_commerciaux as sc, ".MAIN_DB_PREFIX."projet as p";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user