From b9f13f9b137ea653ad1f3672495760923959a681 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 20 Dec 2018 17:10:41 +0100 Subject: [PATCH] fix function signature for the previous commit --- mail/inc/class.mail_compose.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 4686a5c4b0..c4cc6f4d54 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -1618,12 +1618,12 @@ class mail_compose return 1; } - function convertHTMLToText(&$_html,$sourceishtml = true, $stripcrl=false) + function convertHTMLToText(&$_html,$sourceishtml = true, $stripcrl=false, $noRepEmailAddr = false) { $stripalltags = true; // third param is stripalltags, we may not need that, if the source is already in ascii 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)