From: Tim Mallezie Date: Mon, 20 Apr 2015 06:24:13 +0000 (+0200) Subject: get type from schema X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=72c010fd9c7378e048819808247da3f96aedaf03;p=civicrm-core.git get type from schema --- diff --git a/CRM/Contact/Form/DedupeRules.php b/CRM/Contact/Form/DedupeRules.php index 3ab12bd5e2..a99502a890 100644 --- a/CRM/Contact/Form/DedupeRules.php +++ b/CRM/Contact/Form/DedupeRules.php @@ -111,7 +111,7 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { 'objectExists', array('CRM_Dedupe_DAO_RuleGroup', $this->_rgid, 'title') ); - $this->addField('used', array('label' => ts('Usage'), 'type' => 'Radio'), TRUE); + $this->addField('used', array('label' => ts('Usage')), TRUE); $disabled = array(); $reserved = $this->addField('is_reserved', array('label' => ts('Reserved?'))); if (!empty($this->_defaults['is_reserved'])) { diff --git a/xml/schema/Dedupe/RuleGroup.xml b/xml/schema/Dedupe/RuleGroup.xml index ee5acb0bc6..ee14ba4884 100644 --- a/xml/schema/Dedupe/RuleGroup.xml +++ b/xml/schema/Dedupe/RuleGroup.xml @@ -61,7 +61,7 @@ 4.3 - Select + Radio