[freeside-commits] freeside/FS/FS cust_bill.pm,1.331,1.332
Erik Levinson
levinse at wavetail.420.am
Mon Apr 11 00:19:33 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv32512/FS/FS
Modified Files:
cust_bill.pm
Log Message:
possibly fix spurious error from cust_bill.pm related to barcode files when barcodes are turned off
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.331
retrieving revision 1.332
diff -u -w -d -r1.331 -r1.332
--- cust_bill.pm 30 Mar 2011 19:52:25 -0000 1.331
+++ cust_bill.pm 11 Apr 2011 07:19:30 -0000 1.332
@@ -3344,7 +3344,7 @@
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 @@
my ($file, $logofile, $barcodefile) = $self->print_latex(@_);
my $pdf = generate_pdf($file);
unlink($logofile);
- unlink($barcodefile);
+ unlink($barcodefile) if $barcodefile;
$pdf;
}
More information about the freeside-commits
mailing list