get type from schema
authorTim Mallezie <tim.mallezie@chiro.be>
Mon, 20 Apr 2015 06:24:13 +0000 (08:24 +0200)
committerTim Mallezie <tim.mallezie@chiro.be>
Mon, 20 Apr 2015 06:24:13 +0000 (08:24 +0200)
CRM/Contact/Form/DedupeRules.php
xml/schema/Dedupe/RuleGroup.xml

index 3ab12bd5e2abf7086a0790c6ccfd7073e0ae0760..a99502a89012330c767d2856c01e78f6c31f829d 100644 (file)
@@ -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'])) {
index ee5acb0bc6b1f5f86ef60c898831bdfdb72e5c05..ee14ba48845e0f39c57923bbfcd0bb23aa45233f 100644 (file)
@@ -61,7 +61,7 @@
     </pseudoconstant>
     <add>4.3</add>
     <html>
-      <type>Select</type>
+      <type>Radio</type>
     </html>
   </field>
   <field>