[freeside-commits] branch master updated. e84f7083a36fe7dc6e1262ce242b92c502adba79

Mitch Jackson mitch at freeside.biz
Mon Jan 28 00:31:21 PST 2019


The branch, master has been updated
       via  e84f7083a36fe7dc6e1262ce242b92c502adba79 (commit)
       via  437c89c9c88979a4b3999689ded7a862b69156df (commit)
      from  54ca3f1743a04afeeb5563e67985e84fa0bbc6fb (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 e84f7083a36fe7dc6e1262ce242b92c502adba79
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 437c89c9c88979a4b3999689ded7a862b69156df
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 2b3142f4a..e4f412cb0 100644
--- a/fs_selfservice/FS-SelfService/cgi/change_pay.html
+++ b/fs_selfservice/FS-SelfService/cgi/change_pay.html
@@ -60,6 +60,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