From 47e3fc1b338ea14786443de95e6ce7ae456722ce Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sat, 4 Nov 2023 10:57:29 -0400 Subject: [PATCH] replace undeclared class var with local var --- CRM/Core/Form/Search.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Core/Form/Search.php b/CRM/Core/Form/Search.php index b071a4c45f..09d9d68280 100644 --- a/CRM/Core/Form/Search.php +++ b/CRM/Core/Form/Search.php @@ -438,9 +438,9 @@ class CRM_Core_Form_Search extends CRM_Core_Form { return; } - $this->_group = CRM_Core_PseudoConstant::nestedGroup(); - if ($this->_group) { - $this->add('select', 'group', $this->getGroupLabel(), $this->_group, FALSE, + $nestedGroup = CRM_Core_PseudoConstant::nestedGroup(); + if ($nestedGroup) { + $this->add('select', 'group', $this->getGroupLabel(), $nestedGroup, FALSE, [ 'id' => 'group', 'multiple' => 'multiple', -- 2.25.1