finally got shipping driver management working

This commit is contained in:
JT Smith 2008-03-12 23:18:04 +00:00
parent 1658f3957d
commit 819552ce06
9 changed files with 153 additions and 137 deletions

View file

@ -136,9 +136,9 @@ sub formHeader {
croak "Second parameter must be hash reference"
if ref $params ne "HASH";
my $action = exists $params->{ action } ? $params->{ action } : $session->url->page();
my $method = exists $params->{ method } ? $params->{ method } : "post";
my $enctype = exists $params->{ enctype } ? $params->{ enctype } : "multipart/form-data";
my $action = (exists $params->{action} && $params->{action} ne "") ? $params->{action} : $session->url->page();
my $method = (exists $params->{method} && $params->{method} ne "") ? $params->{method} : "post";
my $enctype = (exists $params->{enctype} && $params->{enctype} ne "") ? $params->{enctype} : "multipart/form-data";
# Fix a query string in the action URL
my $hidden;