From 7028fd21bcf035ac525998b677aca321356d399d Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Wed, 19 Jun 2024 11:23:08 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B07571=20-=20fix=20warning=20due=20to=20th?= =?UTF-8?q?e=20new=20version=20of=20Html2Text=20lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/utils.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/utils.inc.php b/application/utils.inc.php index 887df1ab2..2665b5f37 100644 --- a/application/utils.inc.php +++ b/application/utils.inc.php @@ -2068,7 +2068,7 @@ SQL; { try { //return ''.$sHtml; - return Html2Text::convert(''.$sHtml); + return Html2Text::convert(''.$sHtml, ['ignore_errors' => true]); } catch (Exception $e) { return $e->getMessage();