Event Online Receipt can yield Smarty error
Currently, the selfcancelxfer_time
field in Civi can be NULL
. But if it's set to NULL
then submitting an online event registration crashes because you can't compare it to an integer in this template line in event_reg_online
:
{capture assign=selfservice_preposition}{if {event.selfcancelxfer_time|boolean} && {event.selfcancelxfer_time} > 0}{ts}before{/ts}{else}{ts}after{/ts}{/if}{/capture}