Skip to content

Commit b5d554d

Browse files
sprankhubcolinmollenhour
authored andcommitted
send PayPal new account mail in correct language (#463)
1 parent 2dafb73 commit b5d554d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/core/Mage/Paypal/Model/Express/Checkout.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,13 +1042,13 @@ protected function _involveNewCustomer()
10421042
{
10431043
$customer = $this->_quote->getCustomer();
10441044
if ($customer->isConfirmationRequired()) {
1045-
$customer->sendNewAccountEmail('confirmation');
1045+
$customer->sendNewAccountEmail('confirmation', '', $this->_quote->getStoreId());
10461046
$url = Mage::helper('customer')->getEmailConfirmationUrl($customer->getEmail());
10471047
$this->getCustomerSession()->addSuccess(
10481048
Mage::helper('customer')->__('Account confirmation is required. Please, check your e-mail for confirmation link. To resend confirmation email please <a href="%s">click here</a>.', $url)
10491049
);
10501050
} else {
1051-
$customer->sendNewAccountEmail();
1051+
$customer->sendNewAccountEmail('registered', '', $this->_quote->getStoreId());
10521052
$this->getCustomerSession()->loginById($customer->getId());
10531053
}
10541054
return $this;

0 commit comments

Comments
 (0)