Form/Integer now shows 0 in post submission page (Thanks perlDreamer)
This commit is contained in:
parent
bce3f54896
commit
fd038fd0c8
3 changed files with 3 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
|||
- fixed: Show Message On Login doesn't show after anon registration
|
||||
- fixed: Settings - Show Message On Login behaviour
|
||||
- fixed: Page Layout templates generate invalid HTML with description
|
||||
- fixed: Form/Integer now shows 0 in the results page
|
||||
|
||||
7.5.22
|
||||
- fixed: Layout template now gets prepared correctly
|
||||
|
|
|
|||
|
|
@ -651,7 +651,7 @@ sub getRecordTemplateVars {
|
|||
if ($entry) {
|
||||
$value = $entryData->{ $field->{name} };
|
||||
}
|
||||
elsif (!$ignoreForm && (my $formValue = $self->session->form->process($field->{name}))) {
|
||||
elsif (!$ignoreForm && defined (my $formValue = $self->session->form->process($field->{name}))) {
|
||||
$value = $formValue;
|
||||
}
|
||||
my $hidden = ($field->{status} eq 'hidden' && !$self->session->var->isAdminOn) || ($field->{isMailField} && !$self->get('mailData'));
|
||||
|
|
|
|||
|
|
@ -177,6 +177,7 @@ sub process {
|
|||
if ($value =~ /^[\s]+$/) {
|
||||
return undef;
|
||||
}
|
||||
$self->session->log->error("FormValidator $value");
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue