projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for no finance_pkgclass set
[freeside.git]
/
FS
/
FS
/
part_event
/
Action
/
cust_bill_fee_percent.pm
diff --git
a/FS/FS/part_event/Action/cust_bill_fee_percent.pm
b/FS/FS/part_event/Action/cust_bill_fee_percent.pm
index
b0397d4
..
0eeb3df
100644
(file)
--- a/
FS/FS/part_event/Action/cust_bill_fee_percent.pm
+++ b/
FS/FS/part_event/Action/cust_bill_fee_percent.pm
@@
-40,7
+40,7
@@
sub do_action {
'amount' => $amount,
'pkg' => $self->option('reason'),
'taxclass' => $self->option('taxclass'),
- 'classnum'
=> $conf->config('finance_pkgclass'
),
+ 'classnum'
=> scalar($conf->config('finance_pkgclass')
),
'setuptax' => $self->option('setuptax'),
);