From 25c463b15728dcc69725d190e1c11473838b724a Mon Sep 17 00:00:00 2001
From: Eileen McNaughton
Date: Fri, 10 Feb 2023 12:24:32 +1300
Subject: [PATCH] Smarty notice fix
---
templates/CRM/common/success.tpl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/CRM/common/success.tpl b/templates/CRM/common/success.tpl
index 4ebd3f19c1..f45fe348cb 100644
--- a/templates/CRM/common/success.tpl
+++ b/templates/CRM/common/success.tpl
@@ -48,9 +48,9 @@
{$message}
- {if !empty($afterUpgradeMessage)}
+ {if array_key_exists($afterUpgradeMessage, $form) && $afterUpgradeMessage}
{ts}Important Notes{/ts}
- {$afterUpgradeMessage}
+ {$afterUpgradeMessage|smarty:nodefaults}
{/if}
{ts}Return to CiviCRM home page.{/ts}
--
2.25.1