Smarty notice fix
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 9 Feb 2023 23:24:32 +0000 (12:24 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 9 Feb 2023 23:25:51 +0000 (12:25 +1300)
templates/CRM/common/success.tpl

index 4ebd3f19c1ca43709ce524528adb6b82b9437f25..f45fe348cb608186e8ae7f56946d4967412172e7 100644 (file)
@@ -48,9 +48,9 @@
         </p>
       </div>
       <p><span class="crm-status-icon success"> </span>{$message}</p>
-      {if !empty($afterUpgradeMessage)}
+      {if array_key_exists($afterUpgradeMessage, $form) && $afterUpgradeMessage}
         <h3>{ts}Important Notes{/ts}</h3>
-        <p>{$afterUpgradeMessage}</p>
+        <p>{$afterUpgradeMessage|smarty:nodefaults}</p>
       {/if}
       <p><a href="{crmURL p='civicrm/dashboard' q='reset=1'}" title="{ts}CiviCRM home page{/ts}" style="text-decoration: underline;">{ts}Return to CiviCRM home page.{/ts}</a></p>
     </div>