From 8a832b0eacf8cdf6181ad84eb2622ffd64083497 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 2 May 2026 15:22:58 +0000 Subject: [PATCH] fix: remove unused $type variable in adminserverlist.php flash loop Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/0b960e6d-bdf7-4b5b-8114-6c63e6b11a8d Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- modules/billing/adminserverlist.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/billing/adminserverlist.php b/modules/billing/adminserverlist.php index 5f944d1d..eb1a1f1e 100644 --- a/modules/billing/adminserverlist.php +++ b/modules/billing/adminserverlist.php @@ -207,9 +207,7 @@ while ($svcRes && ($row = $svcRes->fetch_assoc())) { } ?> - $msg): - $type = ($flashType === 'err' || $idx < count((array)$syncMessages) && count($syncMessages) > 0 && strpos($msg, 'disabled') !== false) ? 'ok' : $flashType; -?> +