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
|
|
@ -404,7 +404,7 @@ sub view {
|
|||
;
|
||||
|
||||
# instanciate address
|
||||
my $address = WebGUI::Shop::AddressBook->newBySession($self->session)->getAddress($form->get("addressId")) if ($form->get("addressId"));
|
||||
my $address = WebGUI::Shop::AddressBook->newByUserId($self->session)->getAddress($form->get("addressId")) if ($form->get("addressId"));
|
||||
|
||||
# build the form that the user needs to fill out with badge holder information
|
||||
$vars{formHeader} = WebGUI::Form::formHeader($session, {action => $self->getUrl})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue