From 9d67f0cb53375edf5d86f4db96946d8cee872366 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 20 Sep 2021 09:18:26 +1200 Subject: [PATCH] Tpl notice 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..96f8f630ff 100644 --- a/templates/CRM/Contribute/Form/Selector.tpl +++ b/templates/CRM/Contribute/Form/Selector.tpl @@ -59,7 +59,7 @@ {assign var='columnName' value=$column.field_name} {if !$columnName}{* if field_name has not been set skip, this helps with not changing anything not specifically edited *} {elseif $columnName === 'total_amount'}{* rendered above as soft credit columns = confusing *} - {elseif $column.type === 'actions'}{* rendered below as soft credit column handling = not fixed *} + {elseif isset($column.type) && $column.type === 'actions'}{* rendered below as soft credit column handling = not fixed *} {elseif $columnName == 'contribution_status'} {$row.contribution_status}
@@ -73,8 +73,8 @@ {$row.$columnName|crmDate} {else} - - {$row.$columnName} + + {if isset($row.$columnName)}{$row.$columnName}{/if} {/if} {/if} -- 2.25.1