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