Fix regression __ID__ lost into backtopage urls

This commit is contained in:
Laurent Destailleur
2024-08-28 23:49:53 +02:00
parent 94664c5cdf
commit 5a0ec754d8

View File

@@ -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
}