Check for action

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-08-26 03:20:53 -04:00
parent 1f913dcaac
commit 54d1f8f30b
Signed by untrusted user: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
} else {
$err = "Invalid E-mail";
}
} else {
} else if (!empty($_GET['action'])) {
$err = "E-mail is required";
}
if (empty($_GET['action']) || ($_GET['action'] != "sub" && $_GET['action'] != "unsub") || !empty($err)) {