projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b8898e
)
CRM_Utils_String - Fix loading with alternate packages path
author
Tim Otten
<totten@civicrm.org>
Sat, 18 Jan 2020 06:02:38 +0000
(22:02 -0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 28 Jan 2020 22:52:07 +0000
(14:52 -0800)
CRM/Utils/String.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/String.php
b/CRM/Utils/String.php
index 95eda6658d340e5bad3215a370b397249c0bbe93..9277ca59cb339c2e103221502c577ecbd5d2112a 100644
(file)
--- 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();