From: Eileen McNaughton Date: Sun, 3 May 2015 11:52:57 +0000 (+1200) Subject: CRM-16367 (Backoffice Contribution Form) further fix on premium X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2dcbf765b28b4b2e25296a1a62b842a4d3233009;p=civicrm-core.git CRM-16367 (Backoffice Contribution Form) further fix on premium --- diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index 5c27b2671e..addad1c60a 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -1790,7 +1790,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP } if ($contribution->id && isset($formValues['product_name'][0])) { - CRM_Contribute_Form_AdditionalInfo::processPremium($formValues, $contribution->id, + CRM_Contribute_Form_AdditionalInfo::processPremium($submittedValues, $contribution->id, $this->_premiumID, $this->_options ); } diff --git a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php index ef4cfc26b7..3eedadc43b 100644 --- a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php @@ -365,5 +365,5 @@ class CRM_Contribute_Form_ContributionTest extends CiviUnitTestCase { 'credit_card_number' => '411111111111111', ); } -} +}