[freeside-commits] freeside/FS/FS cust_main.pm,1.195,1.196
Ivan,,,
ivan at wavetail.420.am
Sat Sep 24 15:53:27 PDT 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv25608
Modified Files:
cust_main.pm
Log Message:
parse paybatch order number with dashes correctly
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -d -r1.195 -r1.196
--- cust_main.pm 16 Sep 2005 10:10:46 -0000 1.195
+++ cust_main.pm 24 Sep 2005 22:53:25 -0000 1.196
@@ -2576,7 +2576,7 @@
or return "Unknown paynum $options{'paynum'}";
$amount ||= $cust_pay->paid;
- $cust_pay->paybatch =~ /^((\d+)\-)?(\w+):([\w-]*)(:(\w+))?$/
+ $cust_pay->paybatch =~ /^((\d+)\-)?(\w+):\s*([\w\-]*)(:([\w\-]+))?$/
or return "Can't parse paybatch for paynum $options{'paynum'}: ".
$cust_pay->paybatch;
my $gatewaynum = '';
More information about the freeside-commits
mailing list