diff --git a/system/pages/highscores.php b/system/pages/highscores.php index 42b0556c..18cfd7fa 100644 --- a/system/pages/highscores.php +++ b/system/pages/highscores.php @@ -44,7 +44,7 @@ define('SKILL_BALANCE', -2); $skill = POT::SKILL__LEVEL; if(is_numeric($list)) { - $list = intval($list); + $list = (int) $list; if($list >= POT::SKILL_FIRST && $list <= SKILL__LAST) $skill = $list; }