From 3d95be77ccac1fc5af9468cf0c746f5e494abb51 Mon Sep 17 00:00:00 2001 From: omar abu hussein Date: Thu, 19 Jan 2017 12:21:52 +0000 Subject: [PATCH] CRM-19801: Fix inablitiy of changing (current employer) checkbox of relationship --- CRM/Contact/Form/Relationship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index eee2f4104f..2e5b4ea5f8 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -618,7 +618,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { */ private function setEmploymentRelationship($params, $relationshipIds) { if ( - isset($params['is_current_employer']) && + !empty($params['is_current_employer']) && $this->_allRelationshipNames[$params['relationship_type_id']]["name_a_b"] == 'Employee of') { $employerParams = array(); foreach ($relationshipIds as $id) { -- 2.25.1