Empty custom participant date token causes no token to render at all
Overview
When a custom participant date token is empty it causes all other tokens in that scheduled reminder template to not render
Current behaviour
Just found something strange on participant custom date fields:
When the participant date value is empty, it is not only not shown (obviously), but causes no tokens at all to render:
Expected behaviour
When the field has a value the scheduled reminder tokens render fine:
Environment information
bleeding edge nightly (current master 5.43)
Comments
I think this was not the case when I first tested https://github.com/civicrm/civicrm-core/pull/21666 and is probably caused by another commit that has to do with dates and tokens.
Would it be an idea to also include event and participant custom tokens in the test? (textfield, datefield)