diff options
| author | levinse <levinse> | 2010-12-21 06:26:16 +0000 |
|---|---|---|
| committer | levinse <levinse> | 2010-12-21 06:26:16 +0000 |
| commit | 8ff8367c3806c5eb56b604bf55f67db177cf0bda (patch) | |
| tree | 86eebd42f80699b955d57f39644d6d6b84017aac /fs_selfservice/FS-SelfService/cgi/myaccount_menu.html | |
| parent | 42638dec45ee1f2f8a2bb4e147d1a8ea171629b5 (diff) | |
self-service improvements: DIDs, RT10885
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/myaccount_menu.html')
| -rw-r--r-- | fs_selfservice/FS-SelfService/cgi/myaccount_menu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html b/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html index 1f448a104..4036432aa 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html @@ -28,7 +28,7 @@ if ( 1 ) { #XXXFIXME "enable selfservice prepay features" flag or something, eve #XXXFIXME still a bit sloppy for multi-gateway of differing namespace my $i = 0; while($i < scalar(@cust_paybys)) { last if $cust_paybys[$i] =~ /^CARD/; $i++ } - if ( $cust_paybys[$i] =~ /^CARD/ ) { + if ( $cust_paybys[$i] && $cust_paybys[$i] =~ /^CARD/ ) { push @menu, { title => 'Recharge my account with a credit card', url => $hide_payment_fields[$i] ? 'make_thirdparty_payment&payby_method=CC' @@ -39,7 +39,7 @@ if ( 1 ) { #XXXFIXME "enable selfservice prepay features" flag or something, eve $i = 0; while($i < scalar(@cust_paybys)) { last if $cust_paybys[$i] =~ /^CHEK/; $i++ } - if ( $cust_paybys[$i] =~ /^CHEK/ ) { + if ( $cust_paybys[$i] && $cust_paybys[$i] =~ /^CHEK/ ) { push @menu, { title => 'Recharge my account with a check', url => $hide_payment_fields[$i] ? 'make_thirdparty_payment&payby_method=ECHECK' |
