From 157e4ab5f631f3b8f58da8f895062708dab18ce8 Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Fri, 31 Oct 2014 19:17:38 +0530 Subject: [PATCH] CRM-15547 - Current Employer not saved on Drupal user profile https://issues.civicrm.org/jira/browse/CRM-15547 --- CRM/Contact/BAO/Contact/Utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/BAO/Contact/Utils.php b/CRM/Contact/BAO/Contact/Utils.php index da8e28d223..7a51fba6c3 100644 --- a/CRM/Contact/BAO/Contact/Utils.php +++ b/CRM/Contact/BAO/Contact/Utils.php @@ -285,8 +285,8 @@ UNION * @static */ static function createCurrentEmployerRelationship($contactID, $organization, $previousEmployerID = NULL, $newContact = FALSE) { - //if organization name is passed. CRM-15368 - if ($newContact && !is_numeric($organization)) { + //if organization name is passed. CRM-15368,CRM-15547 + if ($organization && !is_numeric($organization)) { $organizationParams['organization_name'] = $organization; $dedupeParams = CRM_Dedupe_Finder::formatParams($organizationParams, 'Organization'); -- 2.25.1