aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_notify.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r--mod/dfrn_notify.php4
1 files changed, 2 insertions, 2 deletions
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'],