bugfix
This commit is contained in:
parent
8749d17dbd
commit
89ba3d5c8c
@ -53,7 +53,7 @@ if ($user->societe_id > 0)
|
||||
}
|
||||
|
||||
// Protection restriction commercial
|
||||
if ($contratid)
|
||||
if ($contratid && !$user->rights->commercial->client->voir)
|
||||
{
|
||||
$sql = "SELECT sc.fk_soc, c.fk_soc";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe_commerciaux as sc, ".MAIN_DB_PREFIX."contrat as c";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user