From: ivan Date: Tue, 21 Apr 2009 16:42:25 +0000 (+0000) Subject: yow. fix fallout from cust_main.archived stuff causing nothing to bill. RT#4412 X-Git-Tag: root_of_svc_elec_features~1250 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=95f6c0c2a08b6fd3662bfd419a34c265883b87d9 yow. fix fallout from cust_main.archived stuff causing nothing to bill. RT#4412 --- diff --git a/FS/FS/Cron/bill.pm b/FS/FS/Cron/bill.pm index 772a9efcc..312f337a7 100644 --- a/FS/FS/Cron/bill.pm +++ b/FS/FS/Cron/bill.pm @@ -28,7 +28,7 @@ sub bill { my @search = (); - push @search, "cust_main.archived != 'Y' "; #disable? + push @search, "( cust_main.archived != 'Y' OR archived IS NULL )"; #disable? push @search, "cust_main.payby = '". $opt{'p'}. "'" if $opt{'p'};