Skip to content
Snippets Groups Projects
Commit 477c4acd authored by lobo's avatar lobo
Browse files

Merge pull request #1989 from cividesk/CRM-13763

CRM-13763
parents 2f39f8af 8a012597
No related branches found
No related tags found
No related merge requests found
......@@ -545,7 +545,7 @@ AND tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
$dao->title = $petitionGroupName;
if (!$dao->find(TRUE)) {
$dao->is_active = 1;
$dao->visibility = 'Public Pages';
$dao->visibility = 'User and User Admin Only';
$dao->save();
}
$group_id = $dao->id;
......@@ -604,7 +604,8 @@ AND tag_id = ( SELECT id FROM civicrm_tag WHERE name = %2 )";
// this will allow using a hash key to confirm email address by sending a url link
$se = CRM_Mailing_Event_BAO_Subscribe::subscribe($group_id,
$params['email-Primary'],
$params['contactId']
$params['contactId'],
'profile'
);
// require_once 'CRM/Core/BAO/Domain.php';
......
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