From: jitendrapurohit Date: Wed, 7 Oct 2015 07:29:43 +0000 (+0530) Subject: fix for enable/disable relationship X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cb089e633a74cf9f667275b262bfde5ab7e02d16;p=civicrm-core.git fix for enable/disable relationship --- diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index be6317214d..7dc455221c 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -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');