Merge pull request #76 from GameServerPanel/copilot/fix-preg-match-deprecation-and-database-error
This commit is contained in:
commit
21b8dab91b
2 changed files with 2 additions and 1 deletions
2
home.php
2
home.php
|
|
@ -210,7 +210,7 @@ function ogpHome()
|
|||
foreach ((array)$server_homes as $server_home)
|
||||
{
|
||||
$button_name = htmlentities($server_home['home_name']);
|
||||
if( ! preg_match("/none/i", $server_home['mod_name']) )
|
||||
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'].
|
||||
"' class='user_menu_link' href='?m=gamemanager&p=game_monitor&home_id-mod_id-ip-port=".
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ $install_queries[0] = array(
|
|||
`payment_txid` VARCHAR(255) NULL,
|
||||
`paid_ts` DATETIME NULL,
|
||||
`coupon_id` INT(11) NOT NULL DEFAULT 0,
|
||||
`created_by_admin` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`order_id`),
|
||||
KEY `user_id` (`user_id`),
|
||||
KEY `status` (`status`),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue