Update mymoduleindex.php
This commit is contained in:
parent
7a26a1212c
commit
ccfba6a9f2
@ -48,10 +48,11 @@ $action = GETPOST('action', 'aZ09');
|
||||
|
||||
|
||||
// Security check
|
||||
//if (! $user->rights->mymodule->myobject->read) accessforbidden();
|
||||
// if (! $user->rights->mymodule->myobject->read) {
|
||||
// accessforbidden();
|
||||
// }
|
||||
$socid = GETPOST('socid', 'int');
|
||||
if (isset($user->socid) && $user->socid > 0)
|
||||
{
|
||||
if (isset($user->socid) && $user->socid > 0) {
|
||||
$action = '';
|
||||
$socid = $user->socid;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user