[freeside-commits] branch FREESIDE_3_BRANCH updated. e04a81044abea1d9bd0a53f96925c9a91e8e01e8
Mark Wells
mark at 420.am
Wed Feb 11 22:59:59 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via e04a81044abea1d9bd0a53f96925c9a91e8e01e8 (commit)
from a4b6fc1db4659ecbbb6a91d5258c6cfb1bc79dfe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e04a81044abea1d9bd0a53f96925c9a91e8e01e8
Author: Mark Wells <mark at freeside.biz>
Date: Wed Feb 11 22:59:54 2015 -0800
properly handle errors from multiple process_o2m/m2m actions, #33490
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html
index 698540b..9d8fa79 100644
--- a/httemplate/edit/process/elements/process.html
+++ b/httemplate/edit/process/elements/process.html
@@ -308,7 +308,7 @@ foreach my $value ( @values ) {
warn "$me processing m2m:\n". Dumper( %$process_m2m )
if $opt{'debug'};
- $error = $new->process_m2m( %$process_m2m );
+ $error ||= $new->process_m2m( %$process_m2m );
}
}
@@ -350,7 +350,7 @@ foreach my $value ( @values ) {
);
}
- $error = $new->process_o2m( %{ $process_o2m },
+ $error ||= $new->process_o2m( %{ $process_o2m },
'params' => scalar($cgi->Vars),
);
}
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/process/elements/process.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list