From 67d305159550351325a082ed7ebd247d4fd7870a Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Thu, 11 Jan 2024 11:25:04 +0000 Subject: [PATCH] fix CMS creation issue from profile --- CRM/Profile/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Profile/Form.php b/CRM/Profile/Form.php index 32cea9291c..e9c8e4f80b 100644 --- a/CRM/Profile/Form.php +++ b/CRM/Profile/Form.php @@ -886,10 +886,10 @@ class CRM_Profile_Form extends CRM_Core_Form { $this->setDefaultsValues(); $action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, NULL); + $this->assign('showCMS', FALSE); if ($this->_mode == self::MODE_CREATE || $this->_mode == self::MODE_EDIT) { CRM_Core_BAO_CMSUser::buildForm($this, $this->_gid, $emailPresent, $action); } - $this->assign('showCMS', FALSE); $this->assign('groupId', $this->_gid); -- 2.25.1