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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user