diff --git a/CRM/Contribute/Form/ContributionPage.php b/CRM/Contribute/Form/ContributionPage.php index 343c11998ab0..6cb1b8f6c3ae 100644 --- a/CRM/Contribute/Form/ContributionPage.php +++ b/CRM/Contribute/Form/ContributionPage.php @@ -412,6 +412,11 @@ public function endPostProcess() { $nextPage = 'thankyou'; break; + case 'Widget': + $subPage = 'widget'; + $nextPage = 'pcp'; + break; + default: $subPage = strtolower($className); $nextPage = strtolower($nextPage);