summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_main-cancel.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-02-11 11:56:39 -0800
committerIvan Kohler <ivan@freeside.biz>2015-02-11 11:56:39 -0800
commit81bad22dc70a9277331d2d15ff25810f615c4a92 (patch)
tree3200e2907bd58498926c070bd24b7d04b08bef9e /httemplate/misc/cust_main-cancel.cgi
parentb68c4a4a92d9b03527f109235093fcc98b98dd2a (diff)
parenta7d1e60f6b411c9a8daa1f654855440f59bc05ea (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc/cust_main-cancel.cgi')
-rwxr-xr-xhttemplate/misc/cust_main-cancel.cgi3
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 ) {