Hi,
On checkout, choosing a 'New address' is not working. I thought it doesn't worth a patch. see line 66:
if (isset($txn->{$type .'_address'})) {

to be replace with:
if (isset($txn->{$type .'_address'}) && !empty($txn->{$type .'_address'})) {

and that is all.

cheers

Comments

safeen’s picture

sorry, i forgot to mention the file:
ec_customer.checkout.inc

gordon’s picture

Status: Active » Fixed

I have fixed this by changing the isset() to !empty(). Basically you don't need both.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.