Reverted a problem which caused the address book content handler to fail
This commit is contained in:
parent
0100ab0112
commit
edac2bfd81
1 changed files with 3 additions and 2 deletions
|
|
@ -82,8 +82,9 @@ sub www_address {
|
||||||
my $output = undef;
|
my $output = undef;
|
||||||
my $method = "www_". ( $session->form->get("method") || "view");
|
my $method = "www_". ( $session->form->get("method") || "view");
|
||||||
my $cart = WebGUI::Shop::AddressBook->newBySession($session);
|
my $cart = WebGUI::Shop::AddressBook->newBySession($session);
|
||||||
if (my $sub = $cart->can($method)) {
|
|
||||||
$output = $sub->();
|
if ($cart->can($method)) {
|
||||||
|
$output = $cart->$method();
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue