1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-21 12:32:51 +00:00

Add [Contact Form] to e-mails from the contact form.

This commit is contained in:
Raoul Snyman 2015-10-18 20:34:47 +02:00
parent 2e4985be3f
commit df9089f74d

View File

@ -60,7 +60,7 @@ else {
// Get everything together
$headers['From'] = $_POST['name'] . ' <' . $_POST['email'] . '>';
$headers['To'] = 'support@openlp.org';
$headers['Subject'] = $_POST['subject'];
$headers['Subject'] = '[Contact Form] ' . $_POST['subject'];
$body = $_POST['message'];
$recipients = 'support@openlp.org';
if ($_POST['me-too']) {