From f93a528822ce1f47a049e108d1803e60c6ce17b1 Mon Sep 17 00:00:00 2001
From: Skylar Ittner
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";