SQLForm: processing of Macro's in default value didn't work.
This commit is contained in:
parent
6683d27795
commit
5c09bbfce8
1 changed files with 2 additions and 1 deletions
|
|
@ -741,7 +741,8 @@ my $sth = $dbLink->db->unconditionalRead($definition{sqlQuery}." order by ".$de
|
||||||
}
|
}
|
||||||
|
|
||||||
$properties->{options} = $options;
|
$properties->{options} = $options;
|
||||||
$properties->{processedDefaultValue} = WebGUI::Macro::process($self->session, $definition{defaultValue});
|
$properties->{processedDefaultValue} = $definition{defaultValue};
|
||||||
|
WebGUI::Macro::process($self->session,\$properties->{processedDefaultValue});
|
||||||
$properties->{fieldId} = $fieldId;
|
$properties->{fieldId} = $fieldId;
|
||||||
|
|
||||||
$self->{_fieldPropertiesCache}->{$fieldId} = {%definition, %$properties};
|
$self->{_fieldPropertiesCache}->{$fieldId} = {%definition, %$properties};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue