diff options
-rwxr-xr-x | httemplate/misc/cust_main-cancel.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/misc/cust_main-cancel.cgi b/httemplate/misc/cust_main-cancel.cgi index a78a8b3dc..f6fd1e915 100755 --- a/httemplate/misc/cust_main-cancel.cgi +++ b/httemplate/misc/cust_main-cancel.cgi @@ -54,10 +54,11 @@ if ( $error ) { } else { warn "cancelling $cust_main"; - $error = $cust_main->cancel( + my @error = $cust_main->cancel( #returns list of errors 'ban' => $ban, 'reason' => $reasonnum, ); + $error = join(', ',@error); } if ( $error ) { |