Commit 8326c4b5 authored by colemanw's avatar colemanw Committed by GitHub

CRM-19346 - Move variable setting to preprocess fn

parent e5720c45
......@@ -80,6 +80,7 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form {
'name'
);
$this->_gLabel = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_OptionGroup', $this->_gid, 'title');
$this->_domainSpecific = in_array($this->_gName, CRM_Core_OptionGroup::$_domainIDGroups);
$url = "civicrm/admin/options/{$this->_gName}";
$params = "reset=1";
......@@ -171,7 +172,6 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form {
TRUE
);
$this->_domainSpecific = in_array($this->_gName, CRM_Core_OptionGroup::$_domainIDGroups) ? TRUE : FALSE;
if ($this->_gName != 'activity_type') {
$this->add('text',
'value',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment