Fix bad form variable for phone number in EMS Badge address info.

This commit is contained in:
Colin Kuskie 2009-02-09 17:16:01 +00:00
parent be42bb0856
commit d17e1f21d6
2 changed files with 5 additions and 4 deletions

View file

@ -32,6 +32,7 @@
- fixed #9611: Transaction Manage View, no go in ie6 (Henry Tang, Long Term Results B.v.)
- fixed #9686: Importing a package twice locks assets forever.
- fixed #9671: Survey - breaks admin bar
- fixed #9702: Phone number on EMS badges not saving
7.6.10
- fixed #9577: WebGUI::Form::Url::getValue returns blank rather than undef for blank fields

View file

@ -463,10 +463,10 @@ sub www_addToCart {
foreach my $field (qw(name address1 address2 address3 city state organization)) {
$badgeInfo{$field} = $form->get($field, "text");
}
$badgeInfo{'phoneNumber'} = $form->get('phoneNumber', 'phone');
$badgeInfo{'email'} = $form->get('email', 'email');
$badgeInfo{'country'} = $form->get('country', 'country');
$badgeInfo{'zipcode'} = $form->get('zipcode', 'zipcode');
$badgeInfo{'phoneNumber'} = $form->get('phone', 'phone');
$badgeInfo{'email'} = $form->get('email', 'email');
$badgeInfo{'country'} = $form->get('country', 'country');
$badgeInfo{'zipcode'} = $form->get('zipcode', 'zipcode');
# check for required fields