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();