From 75515673543130d78e3fe424ef02618b9019a34c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 1 May 2026 13:04:31 +0000 Subject: [PATCH] fix: cast mod_name to string in preg_match; add created_by_admin to billing_orders schema Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/15c9652a-a4a6-4f02-bcc2-15f8fed708b1 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- home.php | 2 +- modules/billing/module.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home.php b/home.php index ef69567a..31be3f63 100644 --- a/home.php +++ b/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 .= "