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

@ -33,6 +33,7 @@
- fixed #9686: Importing a package twice locks assets forever.
- fixed #9671: Survey - breaks admin bar
- fixed #9702: Phone number on EMS badges not saving
- fixed: Email address is not filled in for ITransact credentials.
7.6.10
- fixed #9577: WebGUI::Form::Url::getValue returns blank rather than undef for blank fields

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