[freeside-commits] branch FREESIDE_3_BRANCH updated. d1379237b5bc4e290fc8255726b736622e51b29f

Christopher Burger burgerc at freeside.biz
Wed Apr 3 10:55:27 PDT 2019


The branch, FREESIDE_3_BRANCH has been updated
       via  d1379237b5bc4e290fc8255726b736622e51b29f (commit)
      from  e71385999723463e1310b0496b78f0065baef548 (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 d1379237b5bc4e290fc8255726b736622e51b29f
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Wed Apr 3 08:29:44 2019 -0400

    RT# 83057 - Added check for duplicate entry to avoid sql error

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);

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/process/elements/process.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list