summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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'};