Skip to content

Commit

Permalink
Merge pull request #40 from agileware/CIVIWOO-13
Browse files Browse the repository at this point in the history
CIVIWOO-13: Really only add campaign_id if we have one.
  • Loading branch information
mecachisenros authored Mar 11, 2021
2 parents 14ef904 + 0aec8ca commit cd285e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/class-woocommerce-civicrm-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@ public function add_contribution( $cid, $order ) {
'receive_date' => $order_paid_date,
'contribution_status_id' => 'Pending',
'note' => $this->create_detail_string( $items ),
'campaign_id' => $woocommerce_civicrm_campaign_id,
'line_items' => [],
];

Expand Down

0 comments on commit cd285e5

Please sign in to comment.