1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Test fixes.

This commit is contained in:
camer0n
2024-04-17 11:34:32 -07:00
parent 8e74ad6cb7
commit fed582ad30
4 changed files with 92 additions and 35 deletions

View File

@@ -127,7 +127,7 @@ class contact_front
$sender_name = $tp->toEmail($_POST['author_name'], true, 'RAWTEXT');
$sender = check_email($_POST['email_send']);
$subject = $tp->toEmail($_POST['subject'], true, 'RAWTEXT');
$body = nl2br($tp->toEmail($_POST['body'], true, 'RAWTEXT'));
$body = nl2br($tp->toEmail(strip_tags($_POST['body']), true, 'RAWTEXT'));
$email_copy = !empty($_POST['email_copy']) ? 1 : 0;