I forgot one character
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
92e3dec9f9
commit
c76703c361
|
@ -30,7 +30,7 @@
|
||||||
if (!empty($_GET['action'])) {
|
if (!empty($_GET['action'])) {
|
||||||
if (!empty($_GET['email'])) {
|
if (!empty($_GET['email'])) {
|
||||||
if (filter_var(sanitize($_GET['email']), FILTER_VALIDATE_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']) . "$/m", file_get_contents("/var/spool/list")) === 1) {
|
||||||
if ($_GET['action'] == "sub")
|
if ($_GET['action'] == "sub")
|
||||||
$email = sanitize($_GET['email']);
|
$email = sanitize($_GET['email']);
|
||||||
else $err = "E-mail already in list";
|
else $err = "E-mail already in list";
|
||||||
|
|
Loading…
Reference in New Issue