From 7540d1df8f3e247d6d9677dbfc84be8b8b58a3e2 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Fri, 27 Oct 2023 10:56:17 -0400 Subject: [PATCH] fix on-the-fly popup --- CRM/Profile/Form.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Profile/Form.php b/CRM/Profile/Form.php index 13b351e53e..e20bd8d40b 100644 --- a/CRM/Profile/Form.php +++ b/CRM/Profile/Form.php @@ -889,11 +889,10 @@ class CRM_Profile_Form extends CRM_Core_Form { $this->setDefaultsValues(); $action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, NULL); - $isCreateOrEditMode = $this->_mode == self::MODE_CREATE || $this->_mode == self::MODE_EDIT; - if ($isCreateOrEditMode) { + if ($this->_mode == self::MODE_CREATE || $this->_mode == self::MODE_EDIT) { CRM_Core_BAO_CMSUser::buildForm($this, $this->_gid, $emailPresent, $action); } - $this->assign('showCMS', $isCreateOrEditMode); + $this->assign('showCMS', FALSE); $this->assign('groupId', $this->_gid); -- 2.25.1