X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcust_main-cancel.cgi;h=f6fd1e9150f21c5d717e99fd99ab9a16e39bf86e;hb=95502dabd865c34d1483b20c583523b12fe9332d;hp=a78a8b3dceca03dc76258df512b8ec4f3b3c092c;hpb=3cda3a85eb0daa5b8b9f4d30cd0896da6ccf4a9b;p=freeside.git 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 ) {