From a081223c188408df47534bb30a90a4e1e02c10fe Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 1 Jan 2023 14:25:04 +1300 Subject: [PATCH] Remove code for legacy php versions - assign_by_ref with an object --- CRM/Core/Smarty.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/Smarty.php b/CRM/Core/Smarty.php index 483ef374ba..4874e2b542 100644 --- a/CRM/Core/Smarty.php +++ b/CRM/Core/Smarty.php @@ -117,8 +117,8 @@ class CRM_Core_Smarty extends Smarty { // add the session and the config here $session = CRM_Core_Session::singleton(); - $this->assign_by_ref('config', $config); - $this->assign_by_ref('session', $session); + $this->assign('config', $config); + $this->assign('session', $session); $tsLocale = CRM_Core_I18n::getLocale(); $this->assign('tsLocale', $tsLocale); -- 2.25.1