summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill.pm
diff options
context:
space:
mode:
authorivan <ivan>2008-12-23 00:34:06 +0000
committerivan <ivan>2008-12-23 00:34:06 +0000
commitaf7fa01c4148ae3616f08b0cfe81518a7b0cb5a2 (patch)
tree4bd68e28129302bd63e84c875eeac6c73c6f9c95 /FS/FS/cust_bill.pm
parent37b7af5d150bb1a4656dc191daf768519203eddd (diff)
truncate package descriptions over 50 chars to avoid pushing the total column out to the right, RT#4449
Diffstat (limited to 'FS/FS/cust_bill.pm')
-rw-r--r--FS/FS/cust_bill.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 7504f6b0a..bb582cfd9 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -2758,7 +2758,7 @@ sub _items_cust_bill_pkg {
my $cust_pkg = $cust_bill_pkg->cust_pkg;
my $desc = $cust_bill_pkg->desc;
- $desc = substr($desc, 0, 50). '...';
+ $desc = substr($desc, 0, 50). '...'
if $format eq 'latex' && length($desc) > 50;
my %details_opt = ( 'format' => $format,