From 51fbac65c94702756e052712de02fc4cbce183fc Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 28 Apr 2009 04:36:31 +0000 Subject: [PATCH] add cancelled_cust-noevents flag to emulate SG billing-daily -r behavior, RT#4412 --- FS/FS/cust_main.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 92cf92485..51a190248 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -2235,7 +2235,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 ) { -- 2.11.0