From 7e03fec717a02e3d859e2b1fb349214035d852d8 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 1 Aug 2023 11:10:12 +1200 Subject: [PATCH] E-notice fix (smarty) --- CRM/Custom/Page/Option.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Custom/Page/Option.php b/CRM/Custom/Page/Option.php index 030061f59e..2ee468f63f 100644 --- a/CRM/Custom/Page/Option.php +++ b/CRM/Custom/Page/Option.php @@ -167,8 +167,8 @@ WHERE option_group_id = %1"; [1 => $reusedNames] ); CRM_Utils_System::setTitle($newTitle); - $this->assign('reusedNames', $reusedNames); } + $this->assign('reusedNames', !empty($reusedNames) ? $reusedNames : NULL); $this->assign('optionGroupID', $optionGroupID); } -- 2.25.1