diff --git a/web_dev/app/modules/module_block_main_servers_monitoring/includes/ServerJS.php b/web_dev/app/modules/module_block_main_servers_monitoring/includes/ServerJS.php index f9181817..324345e6 100644 --- a/web_dev/app/modules/module_block_main_servers_monitoring/includes/ServerJS.php +++ b/web_dev/app/modules/module_block_main_servers_monitoring/includes/ServerJS.php @@ -109,6 +109,7 @@ // Количество игроков выключенного сервера $return[ $i_server ]['Players'] = 0; + $return[ $i_server ]['players'] = []; $return[ $i_server ]['MaxPlayers'] = 0; // Мод выключенного сервера @@ -129,4 +130,4 @@ // Вывод echo json_encode( $return, JSON_UNESCAPED_UNICODE ); -exit; \ No newline at end of file +exit;