diff --git a/CRM/ConstituentsOnly/BAO/ConstituentsOnly.php b/CRM/ConstituentsOnly/BAO/ConstituentsOnly.php index 7d6fedd..d8bda8d 100644 --- a/CRM/ConstituentsOnly/BAO/ConstituentsOnly.php +++ b/CRM/ConstituentsOnly/BAO/ConstituentsOnly.php @@ -192,7 +192,7 @@ class CRM_ConstituentsOnly_BAO_ConstituentsOnly { if (empty($newRows[$cid])) { continue; } - $newRows[$cid]['sort_name'] .= "({$rows[$ogContactId]['sort_name']})"; + $newRows[$cid]['sort_name'] .= " ({$rows[$ogContactId]['sort_name']})"; $rows[$ogContactId] = $newRows[$cid]; $prevCacheKey = "civicrm search {$qfKey}"; $exists = CRM_Core_DAO::singleValueQuery(