Do not remove signature part in forward inline

This commit is contained in:
Hadi Nategh 2018-01-08 14:24:14 +01:00
parent 33b41c3f6a
commit 3b25305959

View File

@ -2234,7 +2234,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;
}