'related_contact' => NULL,
'participant' => $params['component_id'],
'contributionRecur' => NULL,
- ], ['contribution' => $contribution]);
+ ], $contribution);
// reset template values before processing next transactions
$template->clearTemplateVars();