Forward porting bug fix for random checkout problems in the Shop

related to Class::InsideOut and using ref instead of refaddr/id.
This commit is contained in:
Colin Kuskie 2009-03-12 15:32:48 +00:00
parent 4c79e23196
commit c45fe174a0
4 changed files with 3 additions and 4 deletions

View file

@ -147,7 +147,7 @@ An address object's unique id.
sub getAddress {
my ($self, $addressId) = @_;
my $id = ref $self;
my $id = id $self;
unless (exists $addressCache{$id}{$addressId}) {
$addressCache{$id}{$addressId} = WebGUI::Shop::Address->new($self, $addressId);
}