CRM_Utils_String - Fix loading with alternate packages path
authorTim Otten <totten@civicrm.org>
Sat, 18 Jan 2020 06:02:38 +0000 (22:02 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 28 Jan 2020 22:52:07 +0000 (14:52 -0800)
CRM/Utils/String.php

index 95eda6658d340e5bad3215a370b397249c0bbe93..9277ca59cb339c2e103221502c577ecbd5d2112a 100644 (file)
@@ -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();