From bce7c8a5cf7f5fdb9d581aaa7055628df3b9f722 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 20 Nov 2018 16:33:02 +1300 Subject: [PATCH] Fix php 7.2 notice --- templates/CRM/Contribute/Form/ContributionView.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contribute/Form/ContributionView.tpl b/templates/CRM/Contribute/Form/ContributionView.tpl index bc281ac35e..6e966db510 100644 --- a/templates/CRM/Contribute/Form/ContributionView.tpl +++ b/templates/CRM/Contribute/Form/ContributionView.tpl @@ -253,7 +253,7 @@ {/if} -{if count($softContributions)} {* We show soft credit name with PCP section if contribution is linked to a PCP. *} +{if $softContributions && count($softContributions)} {* We show soft credit name with PCP section if contribution is linked to a PCP. *}
{ts}Soft Credit{/ts} -- 2.25.1