add cancelled_cust-noevents flag to emulate SG billing-daily -r behavior, RT#4412
authorivan <ivan>
Tue, 28 Apr 2009 04:36:31 +0000 (04:36 +0000)
committerivan <ivan>
Tue, 28 Apr 2009 04:36:31 +0000 (04:36 +0000)
FS/FS/cust_main.pm

index 92cf924..51a1902 100644 (file)
@@ -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
   ) {