summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorivan <ivan>2008-05-07 21:36:35 +0000
committerivan <ivan>2008-05-07 21:36:35 +0000
commitbfd99094043a3260afa2770b9e3f366308041490 (patch)
tree9e0b666e02a05c8fa9f86c98b921b0e943f21d56 /httemplate/misc
parentbb51c09147a727688b6cd49e8838b9219ff25d43 (diff)
fix customer cancellation, sort of a side effect of #2872, fixes #3480, #3481
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/cancel_cust.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/httemplate/misc/cancel_cust.html b/httemplate/misc/cancel_cust.html
index 5c2e03677..12c37ebe2 100644
--- a/httemplate/misc/cancel_cust.html
+++ b/httemplate/misc/cancel_cust.html
@@ -34,16 +34,9 @@
<%init>
-my $reasonnum = '';
-my($submit, $class);
-
$cgi->param('custnum') =~ /^(\d+)$/ or die 'illegal custnum';
my $custnum = $1;
-if ( $cgi->param('error') ) {
- $reasonnum = $cgi->param('reasonnum');
-}
-
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied" unless $curuser->access_right('Cancel customer');