From a3434b7c915996e229990a632304fe91cdd6b0a7 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Sun, 7 May 2006 14:14:59 +0000 Subject: [PATCH] slight fixes --- lib/WebGUI/Commerce/Payment/ITransact.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/WebGUI/Commerce/Payment/ITransact.pm b/lib/WebGUI/Commerce/Payment/ITransact.pm index 6ec672894..455ba353a 100644 --- a/lib/WebGUI/Commerce/Payment/ITransact.pm +++ b/lib/WebGUI/Commerce/Payment/ITransact.pm @@ -411,13 +411,12 @@ sub checkoutForm { -label=>$i18n->get("country"), -value=>($self->session->form->process("country") || $u->profileField("homeCountry") || 'United States'), -options=>\%countries - ); - #For some odd reason, defaultValue needs to come before value here or value displays the text "-defaultValue". Bug is reported. - $f->phone( + ); + $f->phone( -name=>"phone", -label=>$i18n->get("phone"), -defaultValue=>$u->profileField("homePhone"), - -value=>$self->session->form->process("phone"), + -value=>$self->session->form->process("phone",'phone'), ); $f->email( -name => 'email',