Skip to content

Commit

Permalink
Merge pull request #3446 from spryker/bugfix/ps-2516-core-2324-suppor…
Browse files Browse the repository at this point in the history
…t-152-gatwaycontrolleradddressaction-returns-null-and-causes-fatal-error

PS-2516 [CORE-2324] [support #152] GatwayController::adddressAction r…
  • Loading branch information
dereuromark authored Jul 25, 2018
2 parents 7840556 + 2a60fbc commit 0174a09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function addressAction(AddressTransfer $addressTransfer)
->getAddress($addressTransfer);
} catch (AddressNotFoundException $e) {
$this->setSuccess(false);
$addressTransfer = null;
$addressTransfer = new AddressTransfer();
}

return $addressTransfer;
Expand Down

0 comments on commit 0174a09

Please sign in to comment.