From b7d765aa7e237b4ce35e6907385af6f9f2fa1e57 Mon Sep 17 00:00:00 2001 From: Monish Deb Date: Fri, 3 Feb 2017 18:02:21 +0530 Subject: [PATCH] minor changes --- CRM/Core/BAO/UFMatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/UFMatch.php b/CRM/Core/BAO/UFMatch.php index ba993670a3..f20be6680d 100644 --- a/CRM/Core/BAO/UFMatch.php +++ b/CRM/Core/BAO/UFMatch.php @@ -256,7 +256,7 @@ AND domain_id = %2 if (!$found) { // Not sure why we're testing for this. Is there ever a case // in which $user is not an object? - if (Civi::settings()->get('syncCMSEmail') && is_object($user)) { + if (is_object($user)) { if ($config->userSystem->is_drupal) { $primary_email = $uniqId; } -- 2.25.1