amlioration de la scurit
This commit is contained in:
parent
4a43641c01
commit
8d8d32364e
@ -47,6 +47,9 @@ if ($conf->fichinter->enabled) $langs->load("interventions");
|
||||
|
||||
// Protection quand utilisateur externe
|
||||
$socidp = isset($_GET["socid"])?$_GET["socid"]:'';
|
||||
|
||||
if ($socidp == '') accessforbidden();
|
||||
|
||||
if ($user->societe_id > 0)
|
||||
{
|
||||
$socidp = $user->societe_id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user