projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 82010 Fix bug where selfservice payment form may not appear
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
cgi
/
change_pay.html
diff --git
a/fs_selfservice/FS-SelfService/cgi/change_pay.html
b/fs_selfservice/FS-SelfService/cgi/change_pay.html
index
2b3142f
..
e4f412c
100644
(file)
--- 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'};
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,
HTML::Widgets::SelectLayers->new(
options => \%options,
selected_layer => $payby,