From e13c00e89d707b0707b7aab44ddeccab4a1e1b0a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 17:25:36 +0000 Subject: [PATCH] fix: address code review feedback - spacing and SQL comment Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/439845e0-926e-4b49-9cd0-810457b73c12 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- modules/billing/sql/normalize_billing_order_status.sql | 2 +- modules/user_games/check_expire.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/billing/sql/normalize_billing_order_status.sql b/modules/billing/sql/normalize_billing_order_status.sql index 4634b2f5..bda6d6cf 100644 --- a/modules/billing/sql/normalize_billing_order_status.sql +++ b/modules/billing/sql/normalize_billing_order_status.sql @@ -23,7 +23,7 @@ WHERE `status` = 'installed'; -- Map old 'paid' to 'Active' -- (Orders that were paid but not yet provisioned should be provisioned --- via home.php?m=billing&p=provision_servers after this migration.) +-- via the admin orders panel after this migration.) UPDATE `gsp_billing_orders` SET `status` = 'Active' WHERE `status` = 'paid'; diff --git a/modules/user_games/check_expire.php b/modules/user_games/check_expire.php index 9df6fba0..4e32ab38 100644 --- a/modules/user_games/check_expire.php +++ b/modules/user_games/check_expire.php @@ -39,7 +39,7 @@ function exec_ogp_module() } } - $expired_users = $db->resultQuery("SELECT user_id, home_id, user_expiration_date FROM OGP_DB_PREFIXuser_homes WHERE user_expiration_date NOT LIKE 'X' AND user_expiration_date < " . $today_midnight . ";" ); + $expired_users = $db->resultQuery("SELECT user_id, home_id, user_expiration_date FROM OGP_DB_PREFIXuser_homes WHERE user_expiration_date NOT LIKE 'X' AND user_expiration_date < " . $today_midnight . ";"); if($expired_users) { foreach ((array)$expired_users as $expired_user)