forked from science-ation/science-ation
Fix escaping on one-off emails
This commit is contained in:
parent
684a7962f2
commit
df3cd54701
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user