This commit is contained in:
Matthew Wilson 2006-05-07 14:12:22 +00:00
parent c62fcb78e6
commit b30eb2cc17

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")) || 'United States'), -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.