From: ivan Date: Mon, 3 Jan 2005 18:25:06 +0000 (+0000) Subject: eliminate warning: Argument "" isn\'t numeric in numeric gt (>) X-Git-Tag: BEFORE_FINAL_MASONIZE~741 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=88d681e1d80244a5116ac431b353a6a8b59e55f3 eliminate warning: Argument "" isn\'t numeric in numeric gt (>) --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 44fb8d696..9144a81fb 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1343,7 +1343,7 @@ sub bill { || $tax->recurtax =~ /^Y$/i; next unless $taxable_charged; - if ( $tax->exempt_amount > 0 ) { + if ( $tax->exempt_amount && $tax->exempt_amount > 0 ) { my ($mon,$year) = (localtime($sdate) )[4,5]; $mon++; my $freq = $part_pkg->freq || 1;