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;