Skip to content

Commit

Permalink
Merge pull request #13482 from jgillmanjr/front_contribution_page
Browse files Browse the repository at this point in the history
Test-drive contribution pages to the front
  • Loading branch information
colemanw authored Jan 21, 2019
2 parents 03b996d + 86045c0 commit bf924b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CRM/Contribute/Page/ContributionPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ public function &onlineContributionLinks() {
'title' => ts('Test-drive'),
'url' => $urlString,
'qs' => $urlParams . '&action=preview',
'fe' => TRUE, // Addresses https://lab.civicrm.org/dev/core/issues/658
'uniqueName' => 'test_drive',
),
);
Expand Down
3 changes: 2 additions & 1 deletion CRM/Core/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,8 @@ protected function getNotifyUrl() {
array(),
TRUE,
NULL,
FALSE
FALSE,
TRUE
);
return (stristr($url, '.')) ? $url : '';
}
Expand Down

0 comments on commit bf924b4

Please sign in to comment.