fix: PHP 8 compatibility warnings and fatal errors

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5ac91d14-7688-4ab2-9065-10d4a361750f

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-05-01 12:56:23 +00:00 committed by GitHub
parent 4571837eeb
commit 7a16fb299f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8 additions and 12 deletions

View file

@ -6,8 +6,3 @@
ALTER TABLE `gsp_billing_orders`
ADD COLUMN IF NOT EXISTS `created_by_admin` TINYINT(1) NOT NULL DEFAULT 0
COMMENT 'Set to 1 when an admin manually created this server via the panel';
-- Track whether an order is a renewal/extension (already referenced by create_servers.php)
ALTER TABLE `gsp_billing_orders`
ADD COLUMN IF NOT EXISTS `extended` TINYINT(1) NOT NULL DEFAULT 0
COMMENT 'Set to 1 when this order is a renewal of an existing server';