From 5bec6ba446480e1b6550df16f30cea0a466e59af Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 20 Sep 2021 09:14:29 +1200 Subject: [PATCH] Tpl enotice fixes --- templates/CRM/Contribute/Form/Selector.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Contribute/Form/Selector.tpl b/templates/CRM/Contribute/Form/Selector.tpl index dde319b318..44eb77bfaf 100644 --- a/templates/CRM/Contribute/Form/Selector.tpl +++ b/templates/CRM/Contribute/Form/Selector.tpl @@ -25,7 +25,7 @@ {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} - {else} + {elseif (!empty($header.name))} {$header.name} {/if} @@ -48,7 +48,7 @@   {$row.total_amount|crmMoney:$row.currency} - {if $row.amount_level }
({$row.amount_level}){/if} + {if !empty($row.amount_level) }
({$row.amount_level}){/if} {if $row.contribution_recur_id && $row.is_template}
{ts}(Recurring Template){/ts} {elseif $row.contribution_recur_id } @@ -68,7 +68,7 @@ {/if} {else} - {if $column.type == 'date'} + {if isset($column.type) && $column.type == 'date'} {$row.$columnName|crmDate} -- 2.25.1