apply r8351 to 7.6
This commit is contained in:
parent
8d3b153542
commit
6db4232b4a
1 changed files with 2 additions and 1 deletions
|
|
@ -245,7 +245,8 @@ sub formField {
|
|||
# start with specified (or current) user's data. previous data needed by some form types as well (file).
|
||||
$properties->{value} = $u->profileField($self->getId);
|
||||
# use submitted data if it exists
|
||||
if (defined $self->session->form->process($properties->{name})) {
|
||||
# FIXME Is $properties->{name} or $self->getId the correct way to get the form name?
|
||||
if (defined $self->session->form->process($properties->{name}, $self->get("fieldType"))) {
|
||||
$properties->{value} = $self->session->form->process($self->getId,$self->get("fieldType"), undef, $properties);
|
||||
}
|
||||
# fall back on default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue