X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FForm%2FContributionPage.php;h=4ba6b21f85b123e582f97574979d1a19cb4aff0d;hb=ec57bf8741042cc600a7d0daa38b514700fbce88;hp=343c11998ab07fc22afc0f7769f0c2ce356d5333;hpb=2f243ecd58d90190d98b786d53137e3f31de82f9;p=civicrm-core.git diff --git a/CRM/Contribute/Form/ContributionPage.php b/CRM/Contribute/Form/ContributionPage.php index 343c11998a..4ba6b21f85 100644 --- a/CRM/Contribute/Form/ContributionPage.php +++ b/CRM/Contribute/Form/ContributionPage.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2019 | + | Copyright CiviCRM LLC (c) 2004-2020 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2019 + * @copyright CiviCRM LLC (c) 2004-2020 */ /** @@ -412,6 +412,11 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { $nextPage = 'thankyou'; break; + case 'Widget': + $subPage = 'widget'; + $nextPage = 'pcp'; + break; + default: $subPage = strtolower($className); $nextPage = strtolower($nextPage);