aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-14 15:24:45 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-14 15:24:45 +0000
commit04ac6b7e56e0681d55370d11184a0f310c944ede (patch)
treeaed7d08bb051eda600105f63cc2a2af9b30e3a9a /engine/lib/notification.php
parent39dd695cee41f0c9aec773ef5e87661e9524bd7a (diff)
downloadelgg-04ac6b7e56e0681d55370d11184a0f310c944ede.tar.gz
elgg-04ac6b7e56e0681d55370d11184a0f310c944ede.tar.bz2
Fixes #245: Tags now stripped from email messages.
git-svn-id: https://code.elgg.org/elgg/trunk@1922 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/notification.php')
-rw-r--r--engine/lib/notification.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index bdfbf65c3..4bc0a0476 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -254,6 +254,9 @@
if (is_callable('mb_encode_mimeheader')) {
$subject = mb_encode_mimeheader($subject,"UTF-8", "B");
}
+
+ // Strip tags from message
+ $message = strip_tags($message);
return mail($to, $subject, wordwrap($message), $headers);
}