diff options
author | Ivan Kohler <ivan@freeside.biz> | 2019-10-21 13:20:04 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2019-10-21 13:20:04 -0700 |
commit | 3d9bb75680d19cb00307e57f4df2ac1c3514cd85 (patch) | |
tree | dafa06ed3742f88eb9fea0eccd118059a95dad96 /FS | |
parent | 5224948de7b1cbc90a2bc7f3f430bc260dd7371e (diff) |
release held packages when automatically unsuspending, RT#83847
Diffstat (limited to 'FS')
-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) |