From 812a61c2aea8a9afd53cbf5c245a8a9ddbf6fd33 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 5 Dec 2008 04:20:09 +0000 Subject: [PATCH] bad shortcut causes taxes not to be charged --- FS/FS/cust_main_county.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/FS/FS/cust_main_county.pm b/FS/FS/cust_main_county.pm index 796e0c460..62dadadb7 100644 --- a/FS/FS/cust_main_county.pm +++ b/FS/FS/cust_main_county.pm @@ -235,8 +235,7 @@ sub taxline { unless $part_pkg->recurtax =~ /^Y$/i || $self->recurtax =~ /^Y$/i; - return [ $name, 0 ] - unless $taxable_charged; + next unless $taxable_charged; if ( $self->exempt_amount && $self->exempt_amount > 0 ) { #my ($mon,$year) = (localtime($cust_bill_pkg->sdate) )[4,5]; -- 2.11.0