fixed: DataForm noloop template variables have incorrect values

This commit is contained in:
Graham Knop 2008-07-14 15:02:18 +00:00
parent 486edcb4d1
commit ce9f7e44e6
2 changed files with 2 additions and 1 deletions

View file

@ -676,7 +676,7 @@ sub getRecordTemplateVars {
my %fieldLoopEntry;
my %tabLoopEntry;
while (my ($propKey, $propValue) = each %fieldProperties) {
$var->{"field.noloop.$field->{name}.$propKey"} = $propKey;
$var->{"field.noloop.$field->{name}.$propKey"} = $propValue;
$fieldLoopEntry{"field.$propKey"} = $propValue;
$tabLoopEntry{"tab.field.$propKey"} = $propValue;
}