projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quiet warnings about CGI::param in list context
[freeside.git]
/
httemplate
/
edit
/
process
/
cgp_rule.html
diff --git
a/httemplate/edit/process/cgp_rule.html
b/httemplate/edit/process/cgp_rule.html
index
f427b6c
..
5326587
100644
(file)
--- a/
httemplate/edit/process/cgp_rule.html
+++ b/
httemplate/edit/process/cgp_rule.html
@@
-4,13
+4,19
@@
'process_o2m' => [
{
'table' => 'cgp_rule_condition',
'process_o2m' => [
{
'table' => 'cgp_rule_condition',
- 'fields' => [qw( condition op params )],
+ 'fields' => [qw( condition
name
op params )],
},
{
'table' => 'cgp_rule_action',
'fields' => [qw( action params )],
},
],
},
{
'table' => 'cgp_rule_action',
'fields' => [qw( action params )],
},
],
+ 'noerror_callback' => sub {
+ my( $cgi, $object ) = @_;
+ my $error = $object->svc_export;
+ #shit, not a good place for error handling :/
+ die $error if $error;
+ },
)
%>
<%init>
)
%>
<%init>