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:
Kuzirashi
2014-04-20 15:08:30 +02:00
parent b0e40e4ccd
commit bafb639506
3 changed files with 20 additions and 20 deletions

View File

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