diff --git a/public/contact.php b/public/contact.php index 17578b8..f31251d 100644 --- a/public/contact.php +++ b/public/contact.php @@ -28,7 +28,7 @@ function output_card($content) { Whoops! You didn't fill out the contact form properly.
Go back and try again.
@@ -42,7 +42,7 @@ $siteid = getsiteid(); $database->insert("messages", [ "siteid" => $siteid, "name" => htmlspecialchars($_POST['name']), - "email" => htmlspecialchars($_POST['email']), + "email" => htmlspecialchars($_POST['real_email']), "message" => htmlspecialchars($_POST['message']), "date" => date("Y-m-d H:i:s") ]); diff --git a/public/themes/bootstrap/contact.php b/public/themes/bootstrap/contact.php index cbd7c70..90eb4e6 100644 --- a/public/themes/bootstrap/contact.php +++ b/public/themes/bootstrap/contact.php @@ -17,6 +17,10 @@ include __DIR__ . "/inc/header.inc.php";