Skip to content

Commit

Permalink
Enable 'Phone' custom data
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Jul 13, 2018
1 parent ad0596b commit 02cef6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/utils.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ function wf_crm_get_fields($var = 'fields') {
if (isset($custom_types[$dao->html_type])) {
$set = 'cg' . $dao->custom_group_id;
// Place these custom fields directly into their entity
if ($dao->entity_type == 'address' || $dao->entity_type == 'relationship' || $dao->entity_type == 'membership') {
if ($dao->entity_type == 'address' || $dao->entity_type == 'relationship' || $dao->entity_type == 'membership' || $dao->entity_type == 'phone') {
$set = $dao->entity_type;
}
elseif (!isset($sets[$set])) {
Expand Down

0 comments on commit 02cef6c

Please sign in to comment.