From 9d6f827ff2d0a85ad3bd20cdb47309978362e17a Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Thu, 28 Sep 2023 17:33:54 -0600 Subject: [PATCH] Fix broken smarty debug regression from #27582 --- CRM/Core/Smarty.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CRM/Core/Smarty.php b/CRM/Core/Smarty.php index af9f6536b3..8ae1024375 100644 --- a/CRM/Core/Smarty.php +++ b/CRM/Core/Smarty.php @@ -133,12 +133,12 @@ class CRM_Core_Smarty extends Smarty { $this->assign('config', $config); $this->assign('session', $session); $this->assign('debugging', [ - 'smartyDebug' => CRM_Utils_Request::retrieveValue('smartyDebug', NULL, FALSE, FALSE, $_GET), - 'sessionReset' => CRM_Utils_Request::retrieveValue('sessionReset', NULL, FALSE, FALSE, $_GET), - 'sessionDebug' => CRM_Utils_Request::retrieveValue('sessionDebug', NULL, FALSE, FALSE, $_GET), - 'directoryCleanup' => CRM_Utils_Request::retrieveValue('directoryCleanup', NULL, FALSE, FALSE, $_GET), - 'cacheCleanup' => CRM_Utils_Request::retrieveValue('cacheCleanup', NULL, FALSE, FALSE, $_GET), - 'configReset' => CRM_Utils_Request::retrieveValue('configReset', NULL, FALSE, FALSE, $_GET), + 'smartyDebug' => CRM_Utils_Request::retrieveValue('smartyDebug', 'Integer'), + 'sessionReset' => CRM_Utils_Request::retrieveValue('sessionReset', 'Integer'), + 'sessionDebug' => CRM_Utils_Request::retrieveValue('sessionDebug', 'Integer'), + 'directoryCleanup' => CRM_Utils_Request::retrieveValue('directoryCleanup', 'Integer'), + 'cacheCleanup' => CRM_Utils_Request::retrieveValue('cacheCleanup', 'Integer'), + 'configReset' => CRM_Utils_Request::retrieveValue('configReset', 'Integer'), ]); $tsLocale = CRM_Core_I18n::getLocale(); -- 2.25.1