summaryrefslogtreecommitdiff
path: root/httemplate/edit
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 08:29:44 -0400
commit08de6e70b0862654801677ca9967e2d0d92ff7a5 (patch)
tree992f817626c9c9c8f7665474dd05e0e457f52cf3 /httemplate/edit
parentd9dfa887a57eb98205f46aeeac54f413040178b4 (diff)
RT# 83057 - Added check for duplicate entry to avoid sql error
Diffstat (limited to 'httemplate/edit')
-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 19110e18b..f70875bec 100644
--- a/httemplate/edit/process/elements/process.html
+++ b/httemplate/edit/process/elements/process.html
@@ -492,7 +492,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);