diff options
author | jeff <jeff> | 2008-04-06 16:12:46 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-04-06 16:12:46 +0000 |
commit | 6626dc2a13c809092aa539c5a72bc72a0c56afdc (patch) | |
tree | e92d2d1ea157b941f090a6f27cfbeb2db8dd12a3 /httemplate/edit/process/elements | |
parent | ebfc3f058e29e09631112ee355a2c57dce56914f (diff) |
new tax rating engine
Diffstat (limited to 'httemplate/edit/process/elements')
-rw-r--r-- | httemplate/edit/process/elements/process.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index a671ca118..d29ffcfe5 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -145,7 +145,11 @@ if ( $pkeyvalue ) { }); } -my %hash = map { $_ => scalar($cgi->param($_)) } @$fields; +my %hash = + map { my @entry = ( $_ => $cgi->param($_) ); + $opt{'value_callback'} ? ( $_ => &{ $opt{'value_callback'} }( @entry )) + : ( @entry ) + } @$fields; my $new = $class->new( \%hash ); |