summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/elements/process.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-08-02 13:06:39 -0700
committerIvan Kohler <ivan@freeside.biz>2018-08-02 13:06:39 -0700
commit0566e27675c0150f00795587c8bb1123c6a3871b (patch)
tree9202567fa46ea48ec93ae3bb2fde977a3f9ecf87 /httemplate/edit/process/elements/process.html
parent8944f813b2d664b38bcbe349ac6897a0314e3b9d (diff)
fix editing employee pw, RT#32456
Diffstat (limited to 'httemplate/edit/process/elements/process.html')
-rw-r--r--httemplate/edit/process/elements/process.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html
index 85f060e..d2b0370 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'} ) {