diff options
author | ivan <ivan> | 2009-04-28 04:36:32 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-04-28 04:36:32 +0000 |
commit | b95cdfdd400e7cbe056951d2a81b366a081b0d3c (patch) | |
tree | a08d1be7570e4fe64fd963311e74003c0943e0a7 | |
parent | 1605da22a4fb996cb5e39571cbf38985506a2cfb (diff) |
add cancelled_cust-noevents flag to emulate SG billing-daily -r behavior, RT#4412
-rw-r--r-- | FS/FS/cust_main.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 4976a6d6b..2f28df3e2 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1945,7 +1945,7 @@ sub bill_and_collect { $self->apply_payments_and_credits; - unless ( $conf->config('cancelled_cust-noevents') + unless ( $conf->exists('cancelled_cust-noevents') && ! $self->num_ncancelled_pkgs ) { |