X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_main_Mixin.pm;h=ba6fda146e71bac71ae8dd927c37669ae82156e1;hp=b5434e51644c81e391d4e7f76b6c8b6439399386;hb=3d9bb75680d19cb00307e57f4df2ac1c3514cd85;hpb=7afd80e3dfcaa34b04f693c40949d7408f7a7ac1 diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index b5434e516..ba6fda146 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -836,6 +836,8 @@ sub unsuspend_balance { my @errors = $cust_main->unsuspend( 'reason_type' => $conf->config('unsuspend_reason_type') ); + + push @errors, $cust_main->release_hold; # side-fx with nested transactions? upstack rolls back? warn "WARNING:Errors unsuspending customer ". $cust_main->custnum. ": ". join(' / ', @errors)