summaryrefslogtreecommitdiff
path: root/FS/FS/Cron
diff options
context:
space:
mode:
authorivan <ivan>2009-04-21 16:42:25 +0000
committerivan <ivan>2009-04-21 16:42:25 +0000
commit95f6c0c2a08b6fd3662bfd419a34c265883b87d9 (patch)
treec8a66050d38b1b149f89c4bcd93ec7dd2f4f57c3 /FS/FS/Cron
parent8f548b7139b1bd093c2e23eafcd1e29e64f8e8b7 (diff)
yow. fix fallout from cust_main.archived stuff causing nothing to bill. RT#4412
Diffstat (limited to 'FS/FS/Cron')
-rw-r--r--FS/FS/Cron/bill.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Cron/bill.pm b/FS/FS/Cron/bill.pm
index 772a9ef..312f337 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'};