projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2e21c7
)
possibly fix spurious error from cust_bill.pm related to barcode files when barcodes...
author
levinse
<levinse>
Mon, 11 Apr 2011 07:19:30 +0000
(07:19 +0000)
committer
levinse
<levinse>
Mon, 11 Apr 2011 07:19:30 +0000
(07:19 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
08a74bc
..
a2754fd
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-3344,7
+3344,7
@@
sub print_ps {
my ($file, $logofile, $barcodefile) = $self->print_latex(@_);
my $ps = generate_ps($file);
unlink($logofile);
- unlink($barcodefile);
+ unlink($barcodefile)
if $barcodefile
;
$ps;
}
@@
-3373,7
+3373,7
@@
sub print_pdf {
my ($file, $logofile, $barcodefile) = $self->print_latex(@_);
my $pdf = generate_pdf($file);
unlink($logofile);
- unlink($barcodefile);
+ unlink($barcodefile)
if $barcodefile
;
$pdf;
}