the real fix to the problem frank just checked in
This commit is contained in:
parent
d6b69e789c
commit
58a2681dce
2 changed files with 2 additions and 2 deletions
|
|
@ -197,7 +197,7 @@ sub getDefaultAddress {
|
|||
return $address;
|
||||
}
|
||||
}
|
||||
return undef;
|
||||
WebGUI::Error::ObjectNotFound->throw(error=>"No default address.");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -813,7 +813,7 @@ sub www_view {
|
|||
}
|
||||
|
||||
# if there is no shipping address we can't check out
|
||||
if (WebGUI::Error->caught || not defined $address) {
|
||||
if (WebGUI::Error->caught) {
|
||||
$var{shippingPrice} = $var{tax} = $self->formatCurrency(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue