From 05bfb88feaa0e918a11c119f42365ab5d87cd3d7 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 17 Jan 2020 22:02:38 -0800 Subject: [PATCH] CRM_Utils_String - Fix loading with alternate packages path --- CRM/Utils/String.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/String.php b/CRM/Utils/String.php index 95eda6658d..9277ca59cb 100644 --- a/CRM/Utils/String.php +++ b/CRM/Utils/String.php @@ -433,7 +433,7 @@ class CRM_Utils_String { * the converted string */ public static function htmlToText($html) { - require_once 'packages/html2text/rcube_html2text.php'; + require_once 'html2text/rcube_html2text.php'; $token_html = preg_replace('!\{([a-z_.]+)\}!i', 'token:{$1}', $html); $converter = new rcube_html2text($token_html); $token_text = $converter->get_text(); -- 2.25.1