fixing the ->param ->body distinction issue.
This commit is contained in:
parent
b045ac2d61
commit
f64ec77d8a
34 changed files with 41 additions and 38 deletions
|
|
@ -198,7 +198,7 @@ Returns an array or a carriage return ("\n") separated scalar depending upon whe
|
|||
|
||||
sub getValueFromPost {
|
||||
my $self = shift;
|
||||
my @data = $self->session->request->param($self->get("name"));
|
||||
my @data = $self->session->form->param($self->get("name"));
|
||||
return wantarray ? @data : join("\n",@data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue