diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 32ce70f479f..a8bcaefc306 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -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 }