Fix if vocation name has more words

This commit is contained in:
slawkens
2025-02-09 01:16:15 +01:00
parent f646856e20
commit 9d7fc98e1e
3 changed files with 9 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ if(config('account_country') && $settingHighscoresCountryBox)
$list = $_GET['list'] ?? 'experience';
$page = $_GET['page'] ?? 1;
$vocation = $_GET['vocation'] ?? 'all';
$vocation = urldecode($_GET['vocation'] ?? 'all');
if(!is_numeric($page) || $page < 1 || $page > PHP_INT_MAX) {
$page = 1;