Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: Accounting Integration, CiviContribute
-
Labels:None
Description
Thank-you page after submitting an online contribution (using Dummy payment processor) has the following notices:
1. The notice below seems to be an actual bug. I think code on line 82 is wrong since FinancialType does NOT have accounting_code property.
Notice: Undefined property: CRM_Financial_DAO_FinancialType::$accounting_code in CRM_Contribute_BAO_Contribution_Utils::processConfirm() (line 82 of /Users/dgg/svn/crm_v4.3/CRM/Contribute/BAO/Contribution/Utils.php).
2. These notices I think can be fixed using CRM_Utils_Array (since this is NOT a partial payment scenario). Please also fix formatting for the new code in this section (spacing / indenting is wrong as is the use of if without curly braces lines 237-240)
.
Notice: Undefined index: initial_amount in CRM_Contribute_BAO_Contribution_Utils::processConfirm() (line 233 of /Users/dgg/svn/crm_v4.3/CRM/Contribute/BAO/Contribution/Utils.php).
Notice: Undefined index: initial_amount in CRM_Contribute_BAO_Contribution_Utils::processConfirm() (line 241 of /Users/dgg/svn/crm_v4.3/CRM/Contribute/BAO/Contribution/Utils.php)