[php8-compat][REF] Fix more php8 test failures caused by template issues
[civicrm-core.git] / xml / templates / message_templates / membership_offline_receipt_html.tpl
index 2fd5ec20d97c78ae0e3f7d8f58a41e6d0c5a2dfa..9de7e49895b2df0038ab6d8a7e21e3095a079d64 100644 (file)
@@ -76,7 +76,7 @@
                   {ts}Membership Fee{/ts}
                 </th>
               </tr>
-              {if $formValues.contributionType_name}
+              {if !empty($formValues.contributionType_name)}
                 <tr>
                   <td {$labelStyle}>
                     {ts}Financial Type{/ts}