X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Felements%2Fprocess.html;h=d2b0370537ec0a425399e8d8854c82360a5339cb;hp=85f060e32943ad3fdedd0d8b5a038af1b7d67504;hb=0566e27675c0150f00795587c8bb1123c6a3871b;hpb=8944f813b2d664b38bcbe349ac6897a0314e3b9d diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index 85f060e32..d2b037053 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -280,7 +280,7 @@ foreach my $value ( @values ) { } if ( $opt{'post_new_object_callback'} ) { - &{ $opt{'post_new_object_callback'} }( $cgi, $new ); + $error ||= &{ $opt{'post_new_object_callback'} }( $cgi, $new ); } if ( $opt{'agent_virt'} ) {