This commit is contained in:
Matthew Wilson 2006-05-07 14:11:52 +00:00
parent 5ca280ae14
commit c62fcb78e6

View file

@ -409,7 +409,7 @@ sub checkoutForm {
$f->selectBox( $f->selectBox(
-name=>"country", -name=>"country",
-label=>$i18n->get("country"), -label=>$i18n->get("country"),
-value=>($self->session->form->process("country") || $u->profileField("homeCountry")), -value=>($self->session->form->process("country") || $u->profileField("homeCountry")) || 'United States'),
-options=>\%countries -options=>\%countries
); );
#For some odd reason, defaultValue needs to come before value here or value displays the text "-defaultValue". Bug is reported. #For some odd reason, defaultValue needs to come before value here or value displays the text "-defaultValue". Bug is reported.