projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac659c6
)
fix use of FS::Conf, #29927
author
Mark Wells
<mark@freeside.biz>
Thu, 19 Mar 2015 23:02:08 +0000
(16:02 -0700)
committer
Mark Wells
<mark@freeside.biz>
Thu, 19 Mar 2015 23:02:08 +0000
(16:02 -0700)
FS/FS/bill_batch.pm
patch
|
blob
|
history
diff --git
a/FS/FS/bill_batch.pm
b/FS/FS/bill_batch.pm
index
239341c
..
fcafc4d
100644
(file)
--- a/
FS/FS/bill_batch.pm
+++ b/
FS/FS/bill_batch.pm
@@
-65,7
+65,8
@@
sub print_pdf {
qsearch('cust_bill_batch', { batchnum => $self->batchnum });
return "No invoices in batch ".$self->batchnum.'.' if !@invoices;
- my $duplex = FS::Conf->exists('invoice_print_pdf-duplex');
+ my $conf = FS::Conf->new;
+ my $duplex = $conf->exists('invoice_print_pdf-duplex');
my $pdf_out;
my $num = 0;