[freeside-commits] branch FREESIDE_4_BRANCH updated. d217ce30db6cbb5d8f4559efcb8e6d5515a3f619

Mitch Jackson mitch at freeside.biz
Mon Jan 28 00:39:51 PST 2019


The branch, FREESIDE_4_BRANCH has been updated
       via  d217ce30db6cbb5d8f4559efcb8e6d5515a3f619 (commit)
       via  3be65539c7aa1175b5ac34b71913c6e22fbb2c64 (commit)
      from  68895af910e88710a630cad7540491a590c0ab3a (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 d217ce30db6cbb5d8f4559efcb8e6d5515a3f619
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Mon Jan 28 03:23:29 2019 -0500

    RT# 82010 Disable a debug flag, improve speed of selfservice

diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
index 035a31771..5ff46283c 100644
--- a/FS/FS/ClientAPI/Signup.pm
+++ b/FS/FS/ClientAPI/Signup.pm
@@ -28,7 +28,7 @@ use FS::banned_pay;
 use FS::part_tag;
 use FS::cust_payby;
 
-$DEBUG = 1;
+$DEBUG = 0;
 $me = '[FS::ClientAPI::Signup]';
 
 =head1 NAME

commit 3be65539c7aa1175b5ac34b71913c6e22fbb2c64
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Mon Jan 28 03:22:17 2019 -0500

    RT# 82010 Fix bug where selfservice payment form may not appear

diff --git a/fs_selfservice/FS-SelfService/cgi/change_pay.html b/fs_selfservice/FS-SelfService/cgi/change_pay.html
index 9ed621f9a..2e14151d0 100644
--- a/fs_selfservice/FS-SelfService/cgi/change_pay.html
+++ b/fs_selfservice/FS-SelfService/cgi/change_pay.html
@@ -61,6 +61,9 @@
   delete $options{'DCRD'} unless $payby eq 'DCRD' || ! exists $options{'CARD'};
   delete $options{'DCHK'} unless $payby eq 'DCHK' || ! exists $options{'CHEK'};
 
+  $payby = (keys %options)[0]
+    if !$payby && %options;
+
   HTML::Widgets::SelectLayers->new(
     options => \%options,
     selected_layer => $payby,

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

Summary of changes:
 FS/FS/ClientAPI/Signup.pm                         | 2 +-
 fs_selfservice/FS-SelfService/cgi/change_pay.html | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list