From 97f8fc9daece9afff3ab70fcfc264bbbb6544cb3 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Mon, 14 Jun 2021 04:53:28 +0000 Subject: [PATCH] [php8-compact] Fix Session Test errors in php8 --- templates/CRM/common/info.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/CRM/common/info.tpl b/templates/CRM/common/info.tpl index de02a23e78..410e20aebb 100644 --- a/templates/CRM/common/info.tpl +++ b/templates/CRM/common/info.tpl @@ -8,10 +8,10 @@ +--------------------------------------------------------------------+ *} {* Handles display of passed $infoMessage. *} -{if $infoMessage or $infoTitle} -
+{if isset($infoMessage) or isset($infoTitle)} +
{icon icon="fa-info-circle"}{/icon} - {$infoTitle} - {$infoMessage} + {$infoTitle|default:''} + {$infoMessage|default:''}
{/if} -- 2.25.1