fix customer cancellation, sort of a side effect of #2872, fixes #3480, #3481
[freeside.git] / httemplate / misc / cancel_cust.html
index 5c2e036..12c37eb 100644 (file)
 
 <%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');