diff options
| author | levinse <levinse> | 2010-12-21 06:26:12 +0000 |
|---|---|---|
| committer | levinse <levinse> | 2010-12-21 06:26:12 +0000 |
| commit | 46e04077cc22ff9d31e8e9896cbf97e31f1b0e7d (patch) | |
| tree | 24fd7eb75360d3bda1cc8fc535f71ef013b87782 /fs_selfservice/FS-SelfService/cgi/myaccount_menu.html | |
| parent | 1eff7a1cd742bab7a0084d55f74b2f53c1f84e64 (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' |
