Skip to content

Commit b8dd075

Browse files
committed
phpcs
1 parent 8f2b2c6 commit b8dd075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webroot/panel/new_account.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
$form_group->newUserRequest($USER);
2626
}
2727
if ($_POST["new_user_sel"] == "pi") {
28-
if (!isset($_POST["confirm_pi"]) || $_POST["confirm_pi"] != "agree") {
28+
if (!isset($_POST["confirm_pi"]) || $_POST["confirm_pi"] != "agree") {
2929
UnitySite::badRequest("user did not agree to account policy");
3030
}
3131
$USER->getPIGroup()->requestGroup($SEND_PIMESG_TO_ADMINS);
3232
}
3333
}
34-
else if (isset($_POST["cancel"])) {
34+
elseif (isset($_POST["cancel"])) {
3535
foreach ($pending_requests as $request) {
3636
if ($request["request_for"] == "admin") {
3737
$USER->getPIGroup()->cancelGroupRequest();

0 commit comments

Comments
 (0)