Skip to content
Snippets Groups Projects
Commit cd0dd278 authored by Dave Greenberg's avatar Dave Greenberg
Browse files

CRM-12328 switched references to group object for add_to_group_id and add_captcha.

----------------------------------------
* CRM-12328: Profiles: "Add new contacts to group" AND "Include reCaptcha" settings are broken in profile forms
  http://issues.civicrm.org/jira/browse/CRM-12328
parent 524b6313
No related branches found
No related tags found
No related merge requests found
......@@ -463,8 +463,8 @@ class CRM_Core_BAO_UFGroup extends CRM_Core_DAO_UFGroup {
'location_type_id' => isset($field->location_type_id) ? $field->location_type_id : NULL,
'phone_type_id' => isset($field->phone_type_id) ? $field->phone_type_id : NULL,
'group_id' => $group->id,
'add_to_group_id' => isset($field->add_to_group_id) ? $field->add_to_group_id : NULL,
'add_captcha' => isset($field->add_captcha) ? $field->add_captcha : NULL,
'add_to_group_id' => isset($group->add_to_group_id) ? $group->add_to_group_id : NULL,
'add_captcha' => isset($group->add_captcha) ? $group->add_captcha : NULL,
'field_type' => $field->field_type,
'field_id' => $field->id,
'skipDisplay' => 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment