mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* fixed some php notice when there are no players online on TFS 1.x
This commit is contained in:
parent
7ab1c1170f
commit
de7366e9a9
@ -191,9 +191,7 @@ if($db->hasTable('players_online')) {
|
|||||||
|
|
||||||
foreach($skills as $player)
|
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'])
|
if(++$i <= $config['highscores_length'])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user