From: Ivan Kohler Date: Mon, 21 Oct 2019 20:20:04 +0000 (-0700) Subject: release held packages when automatically unsuspending, RT#83847 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=3d9bb75680d19cb00307e57f4df2ac1c3514cd85 release held packages when automatically unsuspending, RT#83847 --- diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index 921ef8f5e..ba6fda146 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)