1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Fix for missing line-breaks in submitted 'contact form' messages.

This commit is contained in:
Cameron
2016-02-06 11:32:31 -08:00
parent b591280f6c
commit 87ce418e14

View File

@@ -58,7 +58,7 @@ if(isset($_POST['send-contactus']))
$sender_name = $tp->toEmail($_POST['author_name'], true,'RAWTEXT');
$sender = check_email($_POST['email_send']);
$subject = $tp->toEmail($_POST['subject'], true,'RAWTEXT');
$body = $tp->toEmail($_POST['body'], true,'RAWTEXT');
$body = nl2br($tp->toEmail($_POST['body'], true,'RAWTEXT'));
$email_copy = !empty($_POST['email_copy']) ? 1 : 0;