https://issues.civicrm.org/jira/browse/CRM-15547
* @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');