mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-31 06:04:54 +01:00
Fix regression __ID__ lost into backtopage urls
This commit is contained in:
@@ -1000,6 +1000,8 @@ function GETPOST($paramname, $check = 'alphanohtml', $method = 0, $filter = null
|
||||
$newout = $user->fk_user;
|
||||
} elseif ($reg[1] == 'ENTITY_ID' || $reg[1] == 'ENTITYID') {
|
||||
$newout = $conf->entity;
|
||||
} elseif ($reg[1] == 'ID') {
|
||||
$newout = '__ID__'; // We keep __ID__ we find into backtopage url
|
||||
} else {
|
||||
$newout = ''; // Key not found, we replace with empty string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user