[freeside-commits] branch master updated. 8ca189326db97dfb6265a51e46bc988002dbe625

Christopher Burger burgerc at 420.am
Wed Sep 13 10:40:45 PDT 2017


The branch, master has been updated
       via  8ca189326db97dfb6265a51e46bc988002dbe625 (commit)
      from  1b6859e5900403b984f75050d2939382b32d14d2 (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 8ca189326db97dfb6265a51e46bc988002dbe625
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Wed Sep 13 13:40:29 2017 -0400

    RT# 77193 - Fixed default layer not displaying

diff --git a/fs_selfservice/FS-SelfService/cgi/change_pay.html b/fs_selfservice/FS-SelfService/cgi/change_pay.html
index e38ba76..f90f6d9 100644
--- a/fs_selfservice/FS-SelfService/cgi/change_pay.html
+++ b/fs_selfservice/FS-SelfService/cgi/change_pay.html
@@ -60,8 +60,8 @@
   delete $options{'DCRD'} unless $payby eq 'DCRD' || ! exists $options{'CARD'};
   delete $options{'DCHK'} unless $payby eq 'DCHK' || ! exists $options{'CHEK'};
 
-  ## setting payby to default to layer if only one.  should we always display first layer?
-  if (keys %options == 1) { @p = keys %options; $payby = $p[0]; }
+  ## set default layer to first payby.
+  @p = keys %options; $payby = $p[0];
 
   HTML::Widgets::SelectLayers->new(
     options => \%options,

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

Summary of changes:
 fs_selfservice/FS-SelfService/cgi/change_pay.html |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list