[freeside-commits] freeside/httemplate/view/cust_main
payment_history.html, 1.5, 1.6
Ivan,,,
ivan at wavetail.420.am
Mon Nov 21 04:41:45 PST 2005
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv3042/view/cust_main
Modified Files:
payment_history.html
Log Message:
ignore blank lines in payby config
Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- payment_history.html 21 Nov 2005 10:47:12 -0000 1.5
+++ payment_history.html 21 Nov 2005 12:41:43 -0000 1.6
@@ -4,10 +4,10 @@
my $conf = new FS::Conf;
- 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;
my %payby = map { $_=>1 } @payby;
my $s = 0;
More information about the freeside-commits
mailing list