-
- Downloads
#2814 fix tokenCompat to be consistent with unresolved tokens
This fixes the tokenCompat subscriber to replace unresolved tokens with a blank string in a consistent way. Prior to this it would crash if smarty was enabled but not all tokens were resolved & print unresolved tokens if smarty was not enabled. The inconsistencies appear to be due to 'separate evolution' rather than '*reasons*'
Showing
- Civi/Token/TokenCompatSubscriber.php 9 additions, 12 deletionsCivi/Token/TokenCompatSubscriber.php
- tests/phpunit/CRM/Activity/Form/Task/PDFLetterCommonTest.php 3 additions, 2 deletionstests/phpunit/CRM/Activity/Form/Task/PDFLetterCommonTest.php
- tests/phpunit/CRM/Core/BAO/MessageTemplateTest.php 14 additions, 0 deletionstests/phpunit/CRM/Core/BAO/MessageTemplateTest.php
Loading
Please register or sign in to comment