more session related bug fixes
This commit is contained in:
parent
f2cccdff9f
commit
b0ffb721b6
44 changed files with 143 additions and 143 deletions
|
|
@ -106,7 +106,7 @@ sub checkoutForm {
|
|||
|
||||
$i18n = WebGUI::International->new($self->session, 'CommercePaymentITransact');
|
||||
|
||||
$u = WebGUI::User->new($self->session->user->profileField("userId"));
|
||||
$u = WebGUI::User->new($self->session->user->userId);
|
||||
|
||||
$f = WebGUI::HTMLForm->new($self->session);
|
||||
$f->text(
|
||||
|
|
|
|||
|
|
@ -417,7 +417,7 @@ sub new {
|
|||
my $session = shift;
|
||||
$transactionId = shift;
|
||||
$gatewayId = shift;
|
||||
$userId = shift || $session->user->profileField("userId");
|
||||
$userId = shift || $session->user->userId;
|
||||
|
||||
if ($transactionId eq 'new') {
|
||||
$transactionId = $session->id->generate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue