Do not add signature ruler for signature at the top of message (RFC 3676.4.3)

This commit is contained in:
Hadi Nategh 2017-09-06 12:32:02 +02:00
parent 39759eb267
commit 134f0db1b9

View File

@ -1135,7 +1135,9 @@ class mail_compose
}
if ((isset($this->mailPreferences['disableRulerForSignatureSeparation']) &&
$this->mailPreferences['disableRulerForSignatureSeparation']) ||
empty($signature['ident_signature']) || trim($this->convertHTMLToText($signature['ident_signature'],true,true)) =='')
empty($signature['ident_signature']) ||
trim($this->convertHTMLToText($signature['ident_signature'],true,true)) =='' ||
$this->mailPreferences['insertSignatureAtTopOfMessage'] == '1')
{
$disableRuler = true;
}