From 72c010fd9c7378e048819808247da3f96aedaf03 Mon Sep 17 00:00:00 2001 From: Tim Mallezie Date: Mon, 20 Apr 2015 08:24:13 +0200 Subject: [PATCH] get type from schema --- CRM/Contact/Form/DedupeRules.php | 2 +- xml/schema/Dedupe/RuleGroup.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1