mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Fix for missing line-breaks in submitted 'contact form' messages.
This commit is contained in:
parent
b591280f6c
commit
87ce418e14
@ -58,10 +58,10 @@ if(isset($_POST['send-contactus']))
|
|||||||
$sender_name = $tp->toEmail($_POST['author_name'], true,'RAWTEXT');
|
$sender_name = $tp->toEmail($_POST['author_name'], true,'RAWTEXT');
|
||||||
$sender = check_email($_POST['email_send']);
|
$sender = check_email($_POST['email_send']);
|
||||||
$subject = $tp->toEmail($_POST['subject'], true,'RAWTEXT');
|
$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;
|
$email_copy = !empty($_POST['email_copy']) ? 1 : 0;
|
||||||
|
|
||||||
// Check Image-Code
|
// Check Image-Code
|
||||||
if (isset($_POST['rand_num']) && !$sec_img->verify_code($_POST['rand_num'], $_POST['code_verify']))
|
if (isset($_POST['rand_num']) && !$sec_img->verify_code($_POST['rand_num'], $_POST['code_verify']))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user