projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f46c75
)
oops, handle old cust_main.pm properly (should we be bothering?) :/ RT#5889
author
ivan
<ivan>
Mon, 5 Oct 2009 18:17:55 +0000
(18:17 +0000)
committer
ivan
<ivan>
Mon, 5 Oct 2009 18:17:55 +0000
(18:17 +0000)
httemplate/misc/payment.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/payment.cgi
b/httemplate/misc/payment.cgi
index
8d7baa5
..
813b560
100644
(file)
--- a/
httemplate/misc/payment.cgi
+++ b/
httemplate/misc/payment.cgi
@@
-300,8
+300,12
@@
my $fee = '';
my $fee_pkg = '';
my $fee_display = '';
my $fee_op = '';
my $fee_pkg = '';
my $fee_display = '';
my $fee_op = '';
+my $num_payments = scalar($cust_main->cust_pay);
+#handle old cust_main.pm (remove...)
+$num_payments = scalar( @{ [ $cust_main->cust_pay ] } )
+ unless defined $num_payments;
if ( $conf->config('manual_process-pkgpart')
if ( $conf->config('manual_process-pkgpart')
- and ! $conf->exists('manual_process-skip_first') || $
cust_main->cust_pay
+ and ! $conf->exists('manual_process-skip_first') || $
num_payments
)
{
)
{