summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2009-12-04 18:37:40 +0000
committerjeff <jeff>2009-12-04 18:37:40 +0000
commitea4a250ff6d0ed40f10fb66c64a095e83ee7bd5d (patch)
tree5e3854457b818aabdcfd835e2fd80c35d8753fb8
parentd32d0810e0beba37f3c5b13d4b99d883da5080c0 (diff)
holy cow! correct sense of skip usage testing
-rw-r--r--FS/FS/cust_bill.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index cec793539..c30ee144b 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -3881,7 +3881,7 @@ sub _items_cust_bill_pkg {
foreach my $cust_bill_pkg ( @$cust_bill_pkg )
{
- foreach ( $s, $r, ($opt{skip_usage} ? $u : () ) ) {
+ foreach ( $s, $r, ($opt{skip_usage} ? () : $u ) ) {
if ( $_ && !$cust_bill_pkg->hidden ) {
$_->{amount} = sprintf( "%.2f", $_->{amount} ),
$_->{amount} =~ s/^\-0\.00$/0.00/;
@@ -4053,7 +4053,7 @@ sub _items_cust_bill_pkg {
}
- foreach ( $s, $r, ($opt{skip_usage} ? $u : () ) ) {
+ foreach ( $s, $r, ($opt{skip_usage} ? () : $u ) ) {
if ( $_ ) {
$_->{amount} = sprintf( "%.2f", $_->{amount} ),
$_->{amount} =~ s/^\-0\.00$/0.00/;