this shoould fix it

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-08-26 06:01:50 -04:00
parent c76703c361
commit 2b9c18d74a
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 32 additions and 30 deletions

View File

@ -45,6 +45,7 @@
$filename = "/tmp/list-code-" . $email;
if (empty($err)) {
if (!empty($_GET['code'])) {
if (file_get_contents($filename) == $_GET['code']) {
if ($_GET['action'] == "sub") {
@ -83,6 +84,7 @@
mail($email, $subject, $message, $headers);
}
}
if ((($_GET['action'] != "sub" && $_GET['action'] != "unsub")) || (!empty($err) && !empty($code_err))) {