diff options
| author | Mark Wells <mark@freeside.biz> | 2015-03-19 16:02:08 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2015-03-19 16:02:08 -0700 |
| commit | 4a826597546477c5f3a6857d1851721568858403 (patch) | |
| tree | cc63f14b3d28e8f25b9ea82905a82c096c368ae7 | |
| parent | ac659c649a8a59398e4dc76c0e25a71a055dc29c (diff) | |
fix use of FS::Conf, #29927
| -rw-r--r-- | FS/FS/bill_batch.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/bill_batch.pm b/FS/FS/bill_batch.pm index 239341cf3..fcafc4dbe 100644 --- 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; |
