projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0db02d5
)
Bug fix: list returned by cust_main->cancel was being displayed in scalar context
author
Jonathan Prykop
<jonathan@freeside.biz>
Tue, 10 Feb 2015 20:08:14 +0000
(14:08 -0600)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Tue, 10 Feb 2015 20:08:14 +0000
(14:08 -0600)
httemplate/misc/cust_main-cancel.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/cust_main-cancel.cgi
b/httemplate/misc/cust_main-cancel.cgi
index
a78a8b3
..
f6fd1e9
100755
(executable)
--- 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 ) {