Fix PHP 8.3 htmlentities null safety, remove unused themes, rename OGP_LANG_ to LANG_
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/9909a053-0a66-4453-a844-d3b80d727b27 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
53e0b68f4f
commit
7377f955fd
796 changed files with 38947 additions and 43914 deletions
2
home.php
2
home.php
|
|
@ -215,7 +215,7 @@ function ogpHome()
|
|||
"'><span data-icon_path='$icon_path'>$game_name</span></a>\n<ul id='submenu_1' >\n";
|
||||
foreach ((array)$server_homes as $server_home)
|
||||
{
|
||||
$button_name = htmlentities($server_home['home_name']);
|
||||
$button_name = htmlentities($server_home['home_name'] ?? '', ENT_QUOTES, 'UTF-8');
|
||||
if( ! preg_match("/none/i", (string)$server_home['mod_name']) )
|
||||
$button_name .= " - ".$server_home['mod_name'];
|
||||
$game_homes_list .= "<li><a title='".$server_home['ip'].':'.$server_home['port'].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue