Fixed undefined method in Business Inquiry

How did this work in the first place?
This commit is contained in:
Jan Groß
2018-09-19 16:41:03 -04:00
parent 954be5967d
commit e23e33e221

View File

@@ -1,5 +1,5 @@
<?php <?php
$contact = replace("..", "", $_POST["contact"]); $contact = str_replace("..", "", $_POST["contact"]);
$recipient = $_POST['mail']; $recipient = $_POST['mail'];
$msg = "Thank you for contacting LoremCorp.\n<br>"; $msg = "Thank you for contacting LoremCorp.\n<br>";
$msg .= "The contact you selected will get back to you as sool as possible.\n<br>"; $msg .= "The contact you selected will get back to you as sool as possible.\n<br>";
@@ -25,4 +25,4 @@ mail($recipient,"We have received your email!",$msg, $headers);
</style> </style>
<div id="thanks">You will receive a confirmation E-Mail shortly. <br> <div id="thanks">You will receive a confirmation E-Mail shortly. <br>
Thank you for contacting us!<br> Thank you for contacting us!<br>
<a href="/index.html">Return to our homepage</a></div> <a href="/index.html">Return to our homepage</a></div>