mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
* fixed some php notice when there are no players online on TFS 1.x
This commit is contained in:
@@ -191,9 +191,7 @@ if($db->hasTable('players_online')) {
|
||||
|
||||
foreach($skills as $player)
|
||||
{
|
||||
if(isset($is_online)) {
|
||||
$player['online'] = (isset($is_online[$player['id']]) ? 1 : 0);
|
||||
}
|
||||
$player['online'] = (isset($is_online[$player['id']]) ? 1 : 0);
|
||||
|
||||
if(++$i <= $config['highscores_length'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user