Address Books cannot be owned by Visitor any longer. Changed newBySession to newByUserId.
This commit is contained in:
parent
aa41440181
commit
d67998888c
5 changed files with 52 additions and 12 deletions
|
|
@ -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};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue