From 70811e8e9f3b5e5aeb06abebeb099dc0af44a0e9 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 5 Feb 2011 04:05:03 +0000 Subject: [PATCH] fix cpu/memory problem?, RT#11452 --- FS/FS/cust_bill.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 56d022c00..501321187 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -4228,9 +4228,8 @@ sub _items_cust_bill_pkg { foreach my $cust_bill_pkg ( @$cust_bill_pkg ) { - #eating cpu and memory? - #$discount_show_always = ($cust_bill_pkg->cust_bill_pkg_discount - # && $conf->exists('discount-show-always')); + $discount_show_always = ($cust_bill_pkg->cust_bill_pkg_discount + && $conf->exists('discount-show-always')); foreach ( $s, $r, ($opt{skip_usage} ? () : $u ) ) { if ( $_ && !$cust_bill_pkg->hidden ) { -- 2.11.0