diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-02-11 11:56:39 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-02-11 11:56:39 -0800 |
commit | 81bad22dc70a9277331d2d15ff25810f615c4a92 (patch) | |
tree | 3200e2907bd58498926c070bd24b7d04b08bef9e /httemplate/misc/cust_main-cancel.cgi | |
parent | b68c4a4a92d9b03527f109235093fcc98b98dd2a (diff) | |
parent | a7d1e60f6b411c9a8daa1f654855440f59bc05ea (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc/cust_main-cancel.cgi')
-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 ) { |