Do not remove signature part in forward inline

This commit is contained in:
Hadi Nategh 2018-01-08 14:24:14 +01:00
parent 331b0d5806
commit 60d52c6cb5

View File

@ -2198,7 +2198,7 @@ class mail_compose
// Try to remove signatures from qouted parts to avoid multiple
// signatures problem in reply (rfc3676#section-4.3).
if ($hasSignature || ($hasSignature = preg_match("/\G--(\s|\s[\r\n])$/",$value)))
if ($_mode != 'forward' && ($hasSignature || ($hasSignature = preg_match("/\G--(\s|\s[\r\n])$/",$value))))
{
continue;
}