From: Tim Düsterhus Date: Thu, 1 Dec 2011 21:50:34 +0000 (+0100) Subject: Use a real signature separated with -- X-Git-Tag: 2.0.0_Beta_1~1522^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae87601d2c75956283929271dfec29fe2532c72d;p=GitHub%2FWoltLab%2FWCF.git Use a real signature separated with -- --- diff --git a/wcfsetup/install/files/lib/system/mail/Mail.class.php b/wcfsetup/install/files/lib/system/mail/Mail.class.php index 27eeb18a74..7d202dc109 100644 --- a/wcfsetup/install/files/lib/system/mail/Mail.class.php +++ b/wcfsetup/install/files/lib/system/mail/Mail.class.php @@ -257,7 +257,7 @@ class Mail { * @return string */ public function getMessage() { - return preg_replace('%(\r\n|\r|\n)%', self::$crlf, $this->message . (MAIL_SIGNATURE ? self::$crlf . self::$crlf . MAIL_SIGNATURE : '')); + return preg_replace('%(\r\n|\r|\n)%', self::$crlf, $this->message . (MAIL_SIGNATURE ? self::$crlf . '-- ' . self::$crlf MAIL_SIGNATURE : '')); } /**