From: Coleman Watts Date: Wed, 26 Aug 2015 20:45:00 +0000 (-0400) Subject: CRM-16990 - Fix saving custom values X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=466e6ca58aedd4d8e8bfefbd0cd39bfafff7b8b5;p=civicrm-core.git CRM-16990 - Fix saving custom values --- diff --git a/CRM/Custom/Form/CustomDataByType.php b/CRM/Custom/Form/CustomDataByType.php index da5f6544e6..6d8d46214b 100644 --- a/CRM/Custom/Form/CustomDataByType.php +++ b/CRM/Custom/Form/CustomDataByType.php @@ -50,14 +50,13 @@ class CRM_Custom_Form_CustomDataByType extends CRM_Core_Form { $this->assign('cdType', FALSE); $this->assign('cgCount', $this->_groupCount); - // Carry qf key, since this form is not inheriting core form (unclear is still the case). - if ($qfKey = CRM_Utils_Request::retrieve('qfKey', 'String')) { - $this->assign('qfKey', $qfKey); - } if (!is_array($this->_subType) && strstr($this->_subType, CRM_Core_DAO::VALUE_SEPARATOR)) { $this->_subType = str_replace(CRM_Core_DAO::VALUE_SEPARATOR, ',', trim($this->_subType, CRM_Core_DAO::VALUE_SEPARATOR)); } CRM_Custom_Form_CustomData::setGroupTree($this, $this->_subType, NULL, $this->_groupID); + + $this->assign('suppressForm', TRUE); + $this->controller->_generateQFKey = FALSE; } /**