[freeside-commits] freeside/httemplate/edit/cust_main billing.html,
1.4, 1.5
Ivan,,,
ivan at wavetail.420.am
Mon Nov 21 04:41:45 PST 2005
Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail:/tmp/cvs-serv3042/edit/cust_main
Modified Files:
billing.html
Log Message:
ignore blank lines in payby config
Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- billing.html 21 Nov 2005 10:47:11 -0000 1.4
+++ billing.html 21 Nov 2005 12:41:43 -0000 1.5
@@ -4,10 +4,10 @@
my $conf = new FS::Conf;
my $payby_default = $conf->config('payby-default');
-my @payby = $conf->config('payby');
+my @payby = grep /\w/, $conf->config('payby');
#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
- unless grep /\w/, @payby;
+ unless @payby;
if ( $payby_default eq 'HIDE' ) {
More information about the freeside-commits
mailing list