freeside/FS/FS cust_main.pm,1.168,1.169

ivan ivan at pouncequick.420.am
Mon Jan 3 10:25:14 PST 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv12431

Modified Files:
	cust_main.pm 
Log Message:
eliminate warning: Argument "" isn\'t numeric in numeric gt (>)

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- cust_main.pm	29 Dec 2004 12:00:06 -0000	1.168
+++ cust_main.pm	3 Jan 2005 18:25:06 -0000	1.169
@@ -1343,7 +1343,7 @@
                   || $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;




More information about the freeside-commits mailing list