Do not remove signature part in forward inline

This commit is contained in:
Hadi Nategh 2018-01-08 14:24:14 +01:00
parent 757c58acc9
commit e0ad6d1a2f

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;
}