Merge pull request #23645 from randallmoraes/patch-9
repair security issue
This commit is contained in:
commit
03c26adca2
@ -65,7 +65,7 @@ $max = $conf->global->MAIN_SIZE_SHORTLIST_LIMIT;
|
|||||||
$now = dol_now();
|
$now = dol_now();
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
$socid = GETPOST("socid", 'int');
|
//$socid = GETPOST("socid", 'int');
|
||||||
if ($user->socid > 0) {
|
if ($user->socid > 0) {
|
||||||
$action = '';
|
$action = '';
|
||||||
$id = $user->socid;
|
$id = $user->socid;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user