repair security issue
When reassing value to the $socid in line 68 clean the filter set by $user->socid
This commit is contained in:
parent
0721c8b5d8
commit
343922210c
@ -65,7 +65,7 @@ $max = $conf->global->MAIN_SIZE_SHORTLIST_LIMIT;
|
||||
$now = dol_now();
|
||||
|
||||
// Security check
|
||||
$socid = GETPOST("socid", 'int');
|
||||
//$socid = GETPOST("socid", 'int');
|
||||
if ($user->socid > 0) {
|
||||
$action = '';
|
||||
$id = $user->socid;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user