fix function signature for the previous commit

This commit is contained in:
Hadi Nategh 2018-12-20 17:10:41 +01:00 committed by Ralf Becker
parent c8a1d88bd8
commit b9f13f9b13

View File

@ -1618,12 +1618,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)