Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Oct 16, 2024
1 parent f102342 commit 0225837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Carts.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function getCart(bool $forceSave = false): Order
$this->_cart->setCustomer($currentUser); // Will ensure the email is also set
}
}

$autoSetAddresses = false;
// We only want to call autoSetAddresses() if we have a authed cart customer
if ($currentUser && $currentUser->id == $this->_cart->customerId) {
Expand Down

0 comments on commit 0225837

Please sign in to comment.