diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php index 5a5e7f2c66e9098be6fdf719d93dc54e4a15417e..753ea3fd6ef85f20956ba997ccd5d8fd5df04995 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); }