Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jitendrapurohit committed Feb 3, 2017
1 parent 0cfaf86 commit 06638f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 06638f5

Please sign in to comment.