[freeside-commits] branch master updated. 08de6e70b0862654801677ca9967e2d0d92ff7a5

Christopher Burger burgerc at freeside.biz
Wed Apr 3 05:30:11 PDT 2019


The branch, master has been updated
       via  08de6e70b0862654801677ca9967e2d0d92ff7a5 (commit)
      from  d9dfa887a57eb98205f46aeeac54f413040178b4 (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 08de6e70b0862654801677ca9967e2d0d92ff7a5
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 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);

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

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