fix for enable/disable relationship
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Wed, 7 Oct 2015 07:29:43 +0000 (12:59 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Wed, 7 Oct 2015 07:29:43 +0000 (12:59 +0530)
CRM/Contact/Form/Relationship.php

index be6317214d4990cc0044a3457111b89fd33f18b5..7dc455221c68cab00251654ef2a8ff200712ef40 100644 (file)
@@ -323,7 +323,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form {
     $this->addField('start_date', array('label' => ts('Start Date'), 'formatType' => 'searchDate'));
     $this->addField('end_date', array('label' => ts('End Date'), 'formatType' => 'searchDate'));
 
-    $this->addField('is_active', array('label' => ts('Enabled?')));
+    $this->addField('is_active', array('label' => ts('Enabled?'), 'type' => 'advcheckbox'));
 
     $this->addField('is_permission_a_b');
     $this->addField('is_permission_b_a');