Closed (fixed)
Project:
e-Commerce
Version:
6.x-4.x-dev
Component:
ec_checkout
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2009 at 00:20 UTC
Updated:
16 Mar 2009 at 11:30 UTC
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
Comment #1
safeen commentedsorry, i forgot to mention the file:
ec_customer.checkout.inc
Comment #2
gordon commentedI have fixed this by changing the isset() to !empty(). Basically you don't need both.