Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored Feb 7, 2025
1 parent 4fed24d commit 89bcb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Checkout/Model/Type/Onepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ protected function _processValidateCustomer(Mage_Sales_Model_Quote_Address $addr
}
} elseif (self::METHOD_GUEST == $this->getQuote()->getCheckoutMethod()) {
$email = $address->getData('email');
if (!v::email()->validate($this->getEmail())) {
if (!v::email()->validate($email)) {
return [
'error' => -1,
'message' => Mage::helper('checkout')->__('Invalid email address "%s"', $email),
Expand Down

0 comments on commit 89bcb2b

Please sign in to comment.