[freeside-commits] freeside/httemplate/misc cancel_cust.html, 1.5, 1.6

Ivan,,, ivan at wavetail.420.am
Wed May 7 14:36:37 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv11861/misc

Modified Files:
	cancel_cust.html 
Log Message:
fix customer cancellation, sort of a side effect of #2872, fixes #3480, #3481

Index: cancel_cust.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/cancel_cust.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cancel_cust.html	1 Apr 2008 06:34:16 -0000	1.5
+++ cancel_cust.html	7 May 2008 21:36:35 -0000	1.6
@@ -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');



More information about the freeside-commits mailing list