merging 6.8.8 bugfix

This commit is contained in:
Roy Johnson 2006-04-05 18:46:52 +00:00
parent 510c1f5ca5
commit 1be24a0dc1
2 changed files with 2 additions and 1 deletions

View file

@ -470,7 +470,7 @@ sub getRecordTemplateVars {
}
my @fields;
my $sth = $self->session->db->read("$select from DataForm_field as a $join $where and a.DataForm_tabId = 0 order by a.sequenceNumber");
my $sth = $self->session->db->read("select from DataForm_field as a $join $where and a.DataForm_tabId = '0' order by a.sequenceNumber");
while (%data = $sth->hash) {
my $formValue = $self->session->form->process($data{name});
if ((not exists $data{value}) && $self->session->form->process("func") ne "editSave" && $self->session->form->process("func") ne "editFieldSave" && defined $formValue) {