projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9cf39b
)
fix batch payment recording, fallout from #10545
author
mark
<mark>
Wed, 9 Feb 2011 23:08:41 +0000
(23:08 +0000)
committer
mark
<mark>
Wed, 9 Feb 2011 23:08:41 +0000
(23:08 +0000)
FS/FS/pay_batch.pm
patch
|
blob
|
history
diff --git
a/FS/FS/pay_batch.pm
b/FS/FS/pay_batch.pm
index
7db123c
..
9bec2c7
100644
(file)
--- a/
FS/FS/pay_batch.pm
+++ b/
FS/FS/pay_batch.pm
@@
-352,10
+352,13
@@
sub import_results {
my $custnum = $cust_pay_batch->custnum,
my $payby = $cust_pay_batch->payby,
my $custnum = $cust_pay_batch->custnum,
my $payby = $cust_pay_batch->payby,
- my $new_cust_pay_batch = new FS::cust_pay_batch { $cust_pay_batch->hash };
-
&{$hook}(\%hash, $cust_pay_batch->hashref);
&{$hook}(\%hash, $cust_pay_batch->hashref);
+ my $new_cust_pay_batch = new FS::cust_pay_batch {
+ $cust_pay_batch->hash,
+ %hash
+ };
+
my $error = '';
if ( &{$approved_condition}(\%hash) ) {
my $error = '';
if ( &{$approved_condition}(\%hash) ) {