Skip to content

Commit

Permalink
fixed error, second level is not ArrayObject but array
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetragramat committed Feb 12, 2020
1 parent 7b5e1d7 commit 9719c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payum/Klarna/Checkout/Action/AuthorizeAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function execute($request)

if (Constants::STATUS_CHECKOUT_INCOMPLETE == $model['status']) {
$renderTemplate = new RenderTemplate($this->templateName, array(
'snippet' => $model['gui']['snippet'],
'snippet' => isset($model['gui']['snippet']) ? $model['gui']['snippet'] : null,
));
$this->gateway->execute($renderTemplate);

Expand Down

0 comments on commit 9719c9b

Please sign in to comment.