projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffb248
)
parse paybatch order number with dashes correctly
author
ivan
<ivan>
Sat, 24 Sep 2005 22:53:25 +0000
(22:53 +0000)
committer
ivan
<ivan>
Sat, 24 Sep 2005 22:53:25 +0000
(22:53 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
2a8eb1d
..
fc6a927
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-2576,7
+2576,7
@@
sub realtime_refund_bop {
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 = '';