Skip to content

Commit

Permalink
Merge pull request #54 from collector-bank/feature/oath
Browse files Browse the repository at this point in the history
Removed called to unexisting function
  • Loading branch information
kristoffer124 authored Nov 30, 2023
2 parents 2628334 + bb2c723 commit 0be994c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QuoteUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ public function setCustomerData(
$customerAddress = $customer->getInvoiceAddress();
$firstname = is_string($customerAddress->getFirstName()) && strlen($customerAddress->getFirstName()) > 0
? $customerAddress->getFirstName()
: $customer->getFirstName();
: "";
$lastname = is_string($customerAddress->getLastName()) && strlen($customerAddress->getLastName()) > 0
? $customerAddress->getLastName()
: $customer->getLastName();
: "";
$email = $customer->getEmail();
$countryCode = $checkoutData->getCountryCode();
$basicAddress = $quote->getShippingAddress()->setCountryId($countryCode);
Expand Down

0 comments on commit 0be994c

Please sign in to comment.