summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-04-28 04:36:31 +0000
committerivan <ivan>2009-04-28 04:36:31 +0000
commit51fbac65c94702756e052712de02fc4cbce183fc (patch)
tree75c468fdf10215f9906f772e16aeca8d798a1ff7
parent16401012b02d1cb1bd16296f8437041dd9363996 (diff)
add cancelled_cust-noevents flag to emulate SG billing-daily -r behavior, RT#4412
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
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
) {