Prefill in the email address in the ITransact credentials form from the user's Shop address.

This commit is contained in:
Colin Kuskie 2009-02-09 18:45:21 +00:00
parent a61dd87d22
commit 6a1bbead00
2 changed files with 2 additions and 1 deletions

View file

@ -722,7 +722,7 @@ sub www_getCredentials {
});
$var->{emailField} = WebGUI::Form::email($session, {
name => 'email',
value => $self->session->form->process("email") || $u->profileField('email'),
value => $form->process('email', 'email') || $addressData->{ email } || $u->profileField('email'),
});
# Credit card information