summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-04-03 08:29:44 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-04-03 11:14:22 -0400
commitd1379237b5bc4e290fc8255726b736622e51b29f (patch)
tree4e63c743bcaf25c3d6ba95e28def20ea80d91f5f
parente71385999723463e1310b0496b78f0065baef548 (diff)
RT# 83057 - Added check for duplicate entry to avoid sql error
-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 f927eae4a..e954d0b47 100644
--- a/httemplate/edit/process/elements/process.html
+++ b/httemplate/edit/process/elements/process.html
@@ -479,7 +479,7 @@ foreach my $value ( @values ) {
}
-if ($class eq "FS::tower") {
+if ($class eq "FS::tower" && !$error) {
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')) {
my $export_tower = $part_svc_broadband_export->export_tower_sector($new);