ok NOW i think i actually solved it
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
1478a9d91a
commit
af95b4af83
|
@ -34,12 +34,12 @@
|
||||||
else $err = "E-mail not in list";
|
else $err = "E-mail not in list";
|
||||||
else if ($_GET['action'] == "unsub")
|
else if ($_GET['action'] == "unsub")
|
||||||
$email = sanitize($_GET['email']);
|
$email = sanitize($_GET['email']);
|
||||||
|
else if (empty($_GET['action']))
|
||||||
|
$email = sanitize($_GET['email']);
|
||||||
else $err = "E-mail already in list";
|
else $err = "E-mail already in list";
|
||||||
else $err = "Invalid E-mail";
|
else $err = "Invalid E-mail";
|
||||||
else $err = "E-mail is required";
|
else $err = "E-mail is required";
|
||||||
|
|
||||||
if (empty($_GET['action'])) $err = '';
|
|
||||||
|
|
||||||
$filename = "/tmp/list-code-" . $email;
|
$filename = "/tmp/list-code-" . $email;
|
||||||
|
|
||||||
if (!empty($_GET['code'])) {
|
if (!empty($_GET['code'])) {
|
||||||
|
|
Loading…
Reference in New Issue