summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-03-09 08:02:27 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-03-09 08:02:27 +0100
commita4c4a73d78c4db014dbc66ea67968472d52708f9 (patch)
tree42fcc4cf0fa4b815f4df8541c2c1c0bd3133ce5b /inc
parent45992a638a85374bf0df1084b3657c845abec060 (diff)
downloadrpg-a4c4a73d78c4db014dbc66ea67968472d52708f9.tar.gz
rpg-a4c4a73d78c4db014dbc66ea67968472d52708f9.tar.bz2
fixed signature stripping
Diffstat (limited to 'inc')
-rw-r--r--inc/Mailer.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php
index 5a5e7f2c6..753ea3fd6 100644
--- a/inc/Mailer.class.php
+++ b/inc/Mailer.class.php
@@ -167,7 +167,7 @@ class Mailer {
}
if($wrap){
$wrap = rawLocale('mailwrap','html');
- $html = preg_replace('/\n-- \n.*$/m','',$html); //strip signature
+ $html = preg_replace('/\n-- <br \/>.*$/s','',$html); //strip signature
$html = str_replace('@HTMLBODY@',$html,$wrap);
}