From: Eileen McNaughton Date: Fri, 29 Oct 2021 20:15:29 +0000 (+1300) Subject: Enotice fixes in debug.tpl that are compatible with default escaping X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4e106a784f6a9f36d7e666e07aa25d520742fce4;p=civicrm-core.git Enotice fixes in debug.tpl that are compatible with default escaping --- diff --git a/templates/CRM/common/debug.tpl b/templates/CRM/common/debug.tpl index 9000418de9..32d69257e4 100644 --- a/templates/CRM/common/debug.tpl +++ b/templates/CRM/common/debug.tpl @@ -8,26 +8,26 @@ +--------------------------------------------------------------------+ *} -{if !empty($smarty.get.smartyDebug)} +{if isset($smarty.get.smartyDebug|smarty:nodefaults)} {debug} {/if} -{if !empty($smarty.get.sessionReset)} +{if isset($smarty.get.sessionReset|smarty:nodefaults)} {$session->reset($smarty.get.sessionReset)} {/if} -{if !empty($smarty.get.sessionDebug)} +{if isset($smarty.get.sessionDebug|smarty:nodefaults)} {$session->debug($smarty.get.sessionDebug)} {/if} -{if !empty($smarty.get.directoryCleanup)} +{if isset($smarty.get.directoryCleanup|smarty:nodefaults)} {$config->cleanup($smarty.get.directoryCleanup)} {/if} -{if !empty($smarty.get.cacheCleanup)} +{if isset($smarty.get.cacheCleanup|smarty:nodefaults)} {$config->clearDBCache()} {/if} -{if !empty($smarty.get.configReset)} +{if isset($smarty.get.configReset|smarty:nodefaults)} {$config->reset()} {/if}