From 06638f5979e0edc9e8d44219d97efb5ace3658a1 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Fri, 3 Feb 2017 14:56:53 +0530 Subject: [PATCH] test fix --- CRM/Contact/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index b00ea7993e33..b7aad4d88b3d 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -2626,7 +2626,7 @@ public static function fromClause(&$tables, $inner = NULL, $right = NULL, $prima } $searchPrimary = ''; if (Civi::settings()->get('searchPrimaryDetailsOnly') || $apiEntity) { - $searchPrimary = " AND {$name}.is_primary = 1"; + $searchPrimary = "AND {$name}.is_primary = 1"; } switch ($name) { case 'civicrm_address':