FIX #13048
This commit is contained in:
parent
9b0b5f755b
commit
d419315e98
@ -47,8 +47,8 @@ $langs->loadLangs(array("mymodule@mymodule"));
|
|||||||
$action=GETPOST('action', 'alpha');
|
$action=GETPOST('action', 'alpha');
|
||||||
|
|
||||||
|
|
||||||
// Securite acces client
|
// Security check
|
||||||
if (! $user->rights->mymodule->read) accessforbidden();
|
//if (! $user->rights->mymodule->myobject->read) accessforbidden();
|
||||||
$socid=GETPOST('socid', 'int');
|
$socid=GETPOST('socid', 'int');
|
||||||
if (isset($user->socid) && $user->socid > 0)
|
if (isset($user->socid) && $user->socid > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user