Skip to content

Commit

Permalink
ENGCOM-2233: [2.1-develop][BackPort] Fixed backwards incompatible cha…
Browse files Browse the repository at this point in the history
…nge to Transport variable event parameters #16601
  • Loading branch information
Stanislav Idolov authored Jul 10, 2018
2 parents 4ba30a4 + 24cd8bc commit 0be9780
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected function prepareTemplate(Order $order)
*/
$this->eventManager->dispatch(
'email_order_set_template_vars_before',
['sender' => $this, 'transport' => $transportObject->getData(), 'transportObject' => $transportObject]
['sender' => $this, 'transport' => $transportObject, 'transportObject' => $transportObject]
);

$this->templateContainer->setTemplateVars($transportObject->getData());
Expand Down

0 comments on commit 0be9780

Please sign in to comment.