CRM-14178 fix error static vs nonstatic error introded in PR process
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 3 Jun 2014 13:51:00 +0000 (01:51 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 3 Jun 2014 13:51:00 +0000 (01:51 +1200)
CRM/Contribute/Form/Contribution/Confirm.php

index f6a911b0b0545ae5cabe4fa928b75110a53593b3..51a9336e3c22686e6d7464edb01635be9e96dc84 100644 (file)
@@ -1752,7 +1752,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
       $isProcessSeparateMembershipTransaction = $this->isSeparateMembershipTransaction($this->_id, $this->_values['amount_block_is_active']);
 
       if ($this->_values['amount_block_is_active']) {
-        $contributionTypeId = $form->_values['financial_type_id'];
+        $contributionTypeId = $this->_values['financial_type_id'];
       }
       else {
         $contributionTypeId = CRM_Utils_Array::value( 'financial_type_id', $membershipDetails );