fix function signature for the previous commit

This commit is contained in:
Hadi Nategh 2018-12-20 17:10:41 +01:00
parent 490d79f774
commit 989a025681

View File

@ -1627,12 +1627,12 @@ class mail_compose
return 1; return 1;
} }
function convertHTMLToText(&$_html,$sourceishtml = true, $stripcrl=false) function convertHTMLToText(&$_html,$sourceishtml = true, $stripcrl=false, $noRepEmailAddr = false)
{ {
$stripalltags = true; $stripalltags = true;
// third param is stripalltags, we may not need that, if the source is already in ascii // third param is stripalltags, we may not need that, if the source is already in ascii
if (!$sourceishtml) $stripalltags=false; if (!$sourceishtml) $stripalltags=false;
return Api\Mail\Html::convertHTMLToText($_html,$this->displayCharset,$stripcrl,$stripalltags); return Api\Mail\Html::convertHTMLToText($_html,$this->displayCharset,$stripcrl,$stripalltags, $noRepEmailAddr);
} }
function generateRFC822Address($_addressObject) function generateRFC822Address($_addressObject)