From 26219967a075d18e87fbfa84d4ce99e08de89e17 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Mon, 1 Feb 2021 10:30:08 -0500 Subject: [PATCH] Token Processor: fix PHP syntax for purifyHTML --- Civi/Token/TokenRow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Token/TokenRow.php b/Civi/Token/TokenRow.php index 536b6ab237..e150a32c4c 100644 --- a/Civi/Token/TokenRow.php +++ b/Civi/Token/TokenRow.php @@ -268,7 +268,7 @@ class TokenRow { } elseif (\CRM_Utils_Array::value('data_type', \CRM_Utils_Array::value($field, $entityFields['values'])) == 'Memo') { // Memo fields aka custom fields of type Note are html. - $htmlTokens[$entity][$field] = CRM_Utils_String::purifyHTML($value); + $htmlTokens[$entity][$field] = \CRM_Utils_String::purifyHTML($value); } else { $htmlTokens[$entity][$field] = htmlentities($value); -- 2.25.1