From 4fb512a00f96f3b7736807de004bafe265b08024 Mon Sep 17 00:00:00 2001 From: Simon Leary Date: Wed, 10 Dec 2025 16:54:08 -0500 Subject: [PATCH] fix arg --- webroot/panel/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/panel/account.php b/webroot/panel/account.php index eaff0d55..997d172a 100644 --- a/webroot/panel/account.php +++ b/webroot/panel/account.php @@ -77,7 +77,7 @@ if (!isset($_POST["tos"]) || $_POST["tos"] != "agree") { UnityHTTPD::badRequest("user did not agree to terms of service"); } - $USER->getPIGroup()->requestGroup($SEND_PIMESG_TO_ADMINS, UnitySQL::REQUEST_BECOME_PI); + $USER->getPIGroup()->requestGroup($SEND_PIMESG_TO_ADMINS); break; case "cancel_pi_request": $USER->getPIGroup()->cancelGroupRequest();