summaryrefslogtreecommitdiff
path: root/FS/FS/Cron
diff options
context:
space:
mode:
authorivan <ivan>2009-12-31 05:10:56 +0000
committerivan <ivan>2009-12-31 05:10:56 +0000
commit0195e9f2c91aa8201ddabb0489ea98a0662d9e0b (patch)
tree448971d99616d9f374543084129039a48c89d0fe /FS/FS/Cron
parent6742745df8ca76edeb4ea2a28c93c58b9a2f975b (diff)
specify multiple agentnums with freeside-daily
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 27011c69f..62bb321e1 100644
--- a/FS/FS/Cron/bill.pm
+++ b/FS/FS/Cron/bill.pm
@@ -161,7 +161,7 @@ sub bill_where {
push @search, "cust_main.payby = '". $opt{'p'}. "'"
if $opt{'p'};
- push @search, "cust_main.agentnum = ". $opt{'a'}
+ push @search, "cust_main.agentnum IN ( ". $opt{'a'}. " ) "
if $opt{'a'};
#it would be useful if i recognized $opt{g} / $not_pkgpart...