From 66a6fd8df07ea18de77c640a7ae08c2a3f630c85 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 6 Oct 2010 18:14:11 -0700 Subject: more instrumentation --- mod/dfrn_notify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index d657b1f88..4a23da505 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -117,8 +117,8 @@ function dfrn_notify_post(&$a) { '$username' => $importer['username'], '$email' => $importer['email'], '$from' => $msg['from-name'], - '$title' => $msg['title'], - '$body' => strip_tags(bbcode($msg['body'])) + '$title' => stripslashes($msg['title']), + '$body' => strip_tags(bbcode(stripslashes($msg['body']))) )); $res = mail($importer['email'], t('New mail received at ') . $a->config['sitename'], -- cgit v1.2.3