summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2009-12-05 23:36:26 +0000
committerjeff <jeff>2009-12-05 23:36:26 +0000
commitecf88c5c5379732a2c147c3755741014d4380ae0 (patch)
treeca4bc067fd1cbef0aca653cf4b561cde89b8e413
parent6183d985647a5deba02d6937b9d383b464f1ee38 (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/;