X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FCron%2Fbill.pm;h=dbb6c66c2d6a99cd07867db2c6cc5ffede7a0070;hb=ce7044bb1112c7d50d2fc4b1e2b3676a87a7847d;hp=d727d923d9c69cc4d82117b30c2b919dfe80c277;hpb=bb8d487a57a75d8d55c89c5f7cb593c4bfeace85;p=freeside.git diff --git a/FS/FS/Cron/bill.pm b/FS/FS/Cron/bill.pm index d727d923d..dbb6c66c2 100644 --- a/FS/FS/Cron/bill.pm +++ b/FS/FS/Cron/bill.pm @@ -40,8 +40,9 @@ sub bill { $opt{'invoice_time'} = $opt{'n'} ? $^T : $opt{'time'}; - my $not_pkgpart = $opt{g} ? { map { $_=>1 } split(/,\s*/, $opt{g}) } - : {}; + #hashref here doesn't work with -m + #my $not_pkgpart = $opt{g} ? { map { $_=>1 } split(/,\s*/, $opt{g}) } + # : {}; ### # get a list of custnums @@ -78,7 +79,7 @@ sub bill { #(not, when using -m, freeside-queued) 'check_freq' => $check_freq, 'resetup' => ( $opt{'s'} ? $opt{'s'} : 0 ), - 'not_pkgpart' => $not_pkgpart, + 'not_pkgpart' => $opt{'g'}, #$not_pkgpart, ); if ( $opt{'m'} ) {