summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/elements/process.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-01-29 13:25:01 -0500
committerChristopher Burger <burgerc@freeside.biz>2019-01-29 13:25:01 -0500
commita9056b16e215e7ac8da9144106e34918cced951f (patch)
tree2135442baa4e82974a76f226388cfaf7dc84aa88 /httemplate/edit/process/elements/process.html
parentc7523dbf2f4c44d61fe2ae2f9cc3baf5e32bf73a (diff)
RT 78356 - fixed display of error on tower and sector exports
Diffstat (limited to 'httemplate/edit/process/elements/process.html')
-rw-r--r--httemplate/edit/process/elements/process.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html
index 0e9edb0..1711b01 100644
--- a/httemplate/edit/process/elements/process.html
+++ b/httemplate/edit/process/elements/process.html
@@ -481,9 +481,11 @@ foreach my $value ( @values ) {
if ($class eq "FS::tower") {
foreach my $part_svc_broadband_export ( FS::tower_sector->part_export_svc_broadband ) {
if ($part_svc_broadband_export and $part_svc_broadband_export->can('export_tower_sector')) {
- $error = $part_svc_broadband_export->export_tower_sector($new);
+ my $export_tower = $part_svc_broadband_export->export_tower_sector($new);
+ $error = $export_tower->{'error'} if $export_tower;
}
}
+ $cgi->param('error', $error) if $error;
}
# set up redirect URLs