summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}