Fix regression __ID__ lost into backtopage urls
This commit is contained in:
parent
94664c5cdf
commit
5a0ec754d8
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue