[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi selfservice.cgi, 1.24, 1.25
Ivan,,,
ivan at wavetail.420.am
Wed Jul 11 04:10:20 PDT 2007
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail:/tmp/cvs-serv21305
Modified Files:
selfservice.cgi
Log Message:
show bad amount in error message
Index: selfservice.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/selfservice.cgi,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- selfservice.cgi 26 Jun 2007 18:20:39 -0000 1.24
+++ selfservice.cgi 11 Jul 2007 11:10:18 -0000 1.25
@@ -244,7 +244,7 @@
#the rest, it gives better error messages
$cgi->param('amount') =~ /^\s*(\d+(\.\d{2})?)\s*$/
- or die "illegal amount"; #!!!
+ or die "Illegal amount: ". $cgi->param('amount'); #!!!
my $amount = $1;
my $payinfo = $cgi->param('payinfo');
More information about the freeside-commits
mailing list