From a0be9ede6679908b6df0dee382a5f506d65b1300 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 20:14:02 +0000 Subject: [PATCH] add inline comment explaining service_id=0 sentinel value Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/862c51a7-d835-4eb2-bd0e-2e2a5459036b Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- modules/billing/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/billing/module.php b/modules/billing/module.php index e4a7c409..caed37d8 100644 --- a/modules/billing/module.php +++ b/modules/billing/module.php @@ -104,7 +104,7 @@ $install_queries[1] = array( `invoice_id` INT(11) NOT NULL AUTO_INCREMENT, `order_id` INT(11) NOT NULL DEFAULT 0, `user_id` INT(11) NOT NULL, - `service_id` INT(11) NOT NULL DEFAULT 0, + `service_id` INT(11) NOT NULL DEFAULT 0, -- 0 = ad-hoc or admin-created invoice not linked to a catalogue service `home_id` INT(11) NOT NULL DEFAULT 0, `home_name` VARCHAR(255) NOT NULL DEFAULT '', `ip` INT(11) NOT NULL DEFAULT 0,