fixing the ->param ->body distinction issue.

This commit is contained in:
Matthew Wilson 2006-01-23 05:18:54 +00:00
parent b045ac2d61
commit f64ec77d8a
34 changed files with 41 additions and 38 deletions

View file

@ -86,8 +86,8 @@ the list.
sub getValueFromPost {
my $self = shift;
if ($self->session->request->param($self->get("name")."_new")) {
return $self->session->request->param($self->get("name")."_new");
if ($self->session->form->param($self->get("name")."_new")) {
return $self->session->form->param($self->get("name")."_new");
}
return $self->SUPER::getValueFromPost;
}