We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f2b2c6 commit b8dd075Copy full SHA for b8dd075
webroot/panel/new_account.php
@@ -25,13 +25,13 @@
25
$form_group->newUserRequest($USER);
26
}
27
if ($_POST["new_user_sel"] == "pi") {
28
- if (!isset($_POST["confirm_pi"]) || $_POST["confirm_pi"] != "agree") {
+ if (!isset($_POST["confirm_pi"]) || $_POST["confirm_pi"] != "agree") {
29
UnitySite::badRequest("user did not agree to account policy");
30
31
$USER->getPIGroup()->requestGroup($SEND_PIMESG_TO_ADMINS);
32
33
34
- else if (isset($_POST["cancel"])) {
+ elseif (isset($_POST["cancel"])) {
35
foreach ($pending_requests as $request) {
36
if ($request["request_for"] == "admin") {
37
$USER->getPIGroup()->cancelGroupRequest();
0 commit comments