Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.7
-
Fix Version/s: 4.3.0
-
Component/s: CiviCRM API
-
Labels:None
Description
The 'campaign_id' parameter is ignored in the API create for a Contribution object.
This can be fixed by adding the following in api/v3/Contribution.php below line 71:
$values["campaign_id"] = CRM_Utils_Array::value('campaign_id', $params);