mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Fixed displaying players in Highscores. Some players in Top Players widget will be hidden when theirs group_id is higher than specified in config("config.highscore.ignoreGroupId - Ignore group id higher than this (staff)"). Same in Highscore subpage. Also fixed undefined index page
in Highscore. This resolves #43 issue.
This commit is contained in:
@@ -11,7 +11,7 @@ else $type = (int)$type;
|
||||
if ($type > 9) $type = 7;
|
||||
|
||||
// Fetch highscore page
|
||||
$page = getValue($_GET['page']);
|
||||
$page = getValue(@$_GET['page']);
|
||||
if (!$page || $page == 0) $page = 1;
|
||||
else $page = (int)$page;
|
||||
|
||||
|
Reference in New Issue
Block a user