Replace email smarty var with token
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 24 Sep 2023 20:59:47 +0000 (09:59 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 24 Sep 2023 20:59:47 +0000 (09:59 +1300)
This replaces the variable email with the appropriate smarty token

I spent some time tracking back the various contact ID & email refs
but concluded this value would always be the participant email, with
is assigned as contact to the tokens.

xml/templates/message_templates/event_offline_receipt_html.tpl

index fecd700118b1ae1e2fec0b6cc5e46be62be653ce..79f1b5293b74ee43579520836b754dd0a94cd355 100644 (file)
       </tr>
       <tr>
        <td colspan="2" {$valueStyle}>
-         {contact.email_primary.email|boolean}
+         {contact.email_primary.email}
        </td>
       </tr>
      {/if}