X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_main_Mixin.pm;h=ba6fda146e71bac71ae8dd927c37669ae82156e1;hp=921ef8f5e490038e702e773c1316ac9cce980b59;hb=3d9bb75680d19cb00307e57f4df2ac1c3514cd85;hpb=5224948de7b1cbc90a2bc7f3f430bc260dd7371e 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)