[freeside-commits] freeside/httemplate/misc upload-batch.cgi, 1.7,
1.8
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Jan 9 16:42:25 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail:/tmp/cvs-serv3800/httemplate/misc
Modified Files:
upload-batch.cgi
Log Message:
ignore filenames and rely on selected batch number
Index: upload-batch.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/upload-batch.cgi,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- upload-batch.cgi 23 Aug 2006 22:25:38 -0000 1.7
+++ upload-batch.cgi 10 Jan 2007 00:42:23 -0000 1.8
@@ -1,10 +1,8 @@
%
%
% my $fh = $cgi->upload('batch_results');
-% my $filename = $cgi->param('batch_results');
-% $filename =~ /^(.*[\/\\])?([^\/\\]+)$/
-% or die "unparsable filename: $filename\n";
-% my $paybatch = $2;
+% $cgi->param('batchnum') =~ /^(\d+)$/;
+% my $paybatch = $1;
%
% my $error = defined($fh)
% ? FS::cust_pay_batch::import_results( {
More information about the freeside-commits
mailing list