diff options
author | Ivan Kohler <ivan@freeside.biz> | 2019-10-21 13:20:07 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2019-10-21 13:20:07 -0700 |
commit | 23c155d0e96cd65a5e678a018254c9399eaccb9b (patch) | |
tree | d134b8e7a40729e18b544dd42afb2742db180b94 | |
parent | bfc7da9a45a81bdc9a8f645be91541c2492d6118 (diff) |
release held packages when automatically unsuspending, RT#83847
-rw-r--r-- | FS/FS/cust_main_Mixin.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index 921ef8f..ba6fda1 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -837,7 +837,7 @@ sub unsuspend_balance { 'reason_type' => $conf->config('unsuspend_reason_type') ); - push @errors, $cust_main->release_hold if $conf->exists('unsuspend-unhold'); + push @errors, $cust_main->release_hold; # side-fx with nested transactions? upstack rolls back? warn "WARNING:Errors unsuspending customer ". $cust_main->custnum. ": ". join(' / ', @errors) |