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
|
|
@ -88,7 +88,7 @@ sub www_address {
|
|||
my $session = shift;
|
||||
my $output = undef;
|
||||
my $method = "www_". ( $session->form->get("method") || "view");
|
||||
my $cart = WebGUI::Shop::AddressBook->newBySession($session);
|
||||
my $cart = WebGUI::Shop::AddressBook->newByUserId($session);
|
||||
|
||||
if ($cart->can($method)) {
|
||||
$output = $cart->$method();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue