Address Books cannot be owned by Visitor any longer. Changed newBySession to newByUserId.

This commit is contained in:
Colin Kuskie 2010-04-22 12:02:54 -07:00
parent aa41440181
commit d67998888c
5 changed files with 52 additions and 12 deletions

View file

@ -263,7 +263,7 @@ sub getAddressBook {
my $self = shift;
my $id = id $self;
unless (exists $addressBookCache{$id}) {
$addressBookCache{$id} = WebGUI::Shop::AddressBook->newBySession($self->session);
$addressBookCache{$id} = WebGUI::Shop::AddressBook->newByUserId($self->session);
}
return $addressBookCache{$id};
}