Tfw i put = instead of !

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-08-26 03:56:01 -04:00
parent 2c1800d9a0
commit 321b935558
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
if (!empty($_GET['action']))
if (!empty($_GET['email']))
if (filter_var(sanitize($_GET['email']), FILTER_VALIDATE_EMAIL))
if (preg_match("/^" . preg_quote($_GET['email']) . "$/", file_get_contents("/var/spool/list")) === 1)
if (preg_match("/^" . preg_quote($_GET['email']) . "$/", file_get_contents("/var/spool/list")) !== 1)
if ($_GET['action'] == "sub")
$email = sanitize($_GET['email']);
else $err = "E-mail not in list";