X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fcancel_cust.html;h=12c37ebe2df9ad52b683e9b3344ba7e80edbfef5;hp=5c2e0367726d95d0b020430b1a4d3a83eacd4a05;hb=bfd99094043a3260afa2770b9e3f366308041490;hpb=bb51c09147a727688b6cd49e8838b9219ff25d43 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');