Merge pull request #23645 from randallmoraes/patch-9
repair security issue
This commit is contained in:
commit
03c26adca2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue