dev/financial#152 Pass contribution directly to completeOrder
[civicrm-core.git] / CRM / Event / Form / Task / Batch.php
index 395feda8652fa7c75e9d4cf9f904de8d2369885c..c20505cc94e4d750936b3a1708acd4fb057a3a83 100644 (file)
@@ -362,7 +362,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
       'related_contact' => NULL,
       'participant' => $params['component_id'],
       'contributionRecur' => NULL,
-    ], ['contribution' => $contribution]);
+    ], $contribution);
 
     // reset template values before processing next transactions
     $template->clearTemplateVars();