projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new tax rating engine
[freeside.git]
/
httemplate
/
edit
/
process
/
elements
/
process.html
diff --git
a/httemplate/edit/process/elements/process.html
b/httemplate/edit/process/elements/process.html
index
a671ca1
..
d29ffcf
100644
(file)
--- 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 );
my $new = $class->new( \%hash );