From 6432bd6729d43e424e93e03e30208544e7e32191 Mon Sep 17 00:00:00 2001 From: yashodha Date: Thu, 5 Sep 2013 11:29:45 +0530 Subject: [PATCH] indentation fixes --- CRM/Contact/Form/DedupeRules.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CRM/Contact/Form/DedupeRules.php b/CRM/Contact/Form/DedupeRules.php index 7cf0deaa98..dd4c322465 100644 --- a/CRM/Contact/Form/DedupeRules.php +++ b/CRM/Contact/Form/DedupeRules.php @@ -125,7 +125,8 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { for ($count = 0; $count < self::RULES_COUNT; $count++) { $this->add('select', "where_$count", ts('Field'), array( - NULL => ts('- none -')) + $this->_fields, FALSE, $disabled + NULL => ts('- none -') + ) + $this->_fields, FALSE, $disabled ); $this->add('text', "length_$count", ts('Length'), $attributes); $this->add('text', "weight_$count", ts('Weight'), $attributes); @@ -133,9 +134,9 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form { $this->add('text', 'threshold', ts("Weight Threshold to Consider Contacts 'Matching':"), $attributes); $this->addButtons(array( - array('type' => 'next', 'name' => ts('Save'), 'isDefault' => TRUE), - array('type' => 'cancel', 'name' => ts('Cancel')), - )); + array('type' => 'next', 'name' => ts('Save'), 'isDefault' => TRUE), + array('type' => 'cancel', 'name' => ts('Cancel')), + )); $this->assign('contact_type', $this->_contactType); -- 2.25.1