fixing the ->param ->body distinction issue.
This commit is contained in:
parent
b045ac2d61
commit
f64ec77d8a
34 changed files with 41 additions and 38 deletions
|
|
@ -95,7 +95,7 @@ Retrieves a value from a form GET or POST and returns it. If the value comes bac
|
|||
|
||||
sub getValueFromPost {
|
||||
my $self = shift;
|
||||
my $formValue = $self->session->request->param($self->get("name"));
|
||||
my $formValue = $self->session->form->param($self->get("name"));
|
||||
if (defined $formValue) {
|
||||
return $formValue;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue