From df3cd547010c2e293cbced888c1919f8b82ba960 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 3 Dec 2009 21:12:13 +0000 Subject: [PATCH] Fix escaping on one-off emails --- admin/communication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/communication.php b/admin/communication.php index 5473b00..084123e 100644 --- a/admin/communication.php +++ b/admin/communication.php @@ -579,7 +579,7 @@ case 'dialog_sender': case "email_send": $body=getTextFromHtml($_POST['bodyhtml']); - email_send_new($_POST['to'],$_POST['from'],$_POST['subject'],$body,$_POST['bodyhtml']); + email_send_new(stripslashes($_POST['to']),stripslashes($_POST['from']),stripslashes($_POST['subject']),stripslashes($body),stripslashes($_POST['bodyhtml'])); happy_("Email Successfully Sent"); exit;