Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token Processor: fix PHP syntax for purifyHTML #19490

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

mlutfy
Copy link
Member

@mlutfy mlutfy commented Feb 1, 2021

Overview

I was playing around with the Token Processor and stumbled on this error:

PHP Fatal error:  Uncaught Error: Class 'Civi\Token\CRM_Utils_String' not found
in [...]/plugins/civicrm/civicrm/Civi/Token/TokenRow.php:271

Technical Details

Admittedly I was testing in an extension for ways to generate tokens in non-standard ways (my extensions sends custom emails, not using the EmailAPI extension, because I need to pass random tokens not based on the Contact ID or the Activity ID).

@civibot
Copy link

civibot bot commented Feb 1, 2021

(Standard links)

@seamuslee001
Copy link
Contributor

Jenkins re test this please

@mattwire
Copy link
Contributor

mattwire commented Feb 1, 2021

test fails unrelated

@mattwire mattwire merged commit faa13c4 into civicrm:master Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants