projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5fc27d1
)
should fix FS::svc_acct=HASH(0xe854058) errors inserting payments, fallout from opens...
author
ivan
<ivan>
Sat, 19 Jun 2010 18:59:06 +0000
(18:59 +0000)
committer
ivan
<ivan>
Sat, 19 Jun 2010 18:59:06 +0000
(18:59 +0000)
FS/FS/cust_bill_ApplicationCommon.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill_ApplicationCommon.pm
b/FS/FS/cust_bill_ApplicationCommon.pm
index
322728f
..
afb90f4
100644
(file)
--- a/
FS/FS/cust_bill_ApplicationCommon.pm
+++ b/
FS/FS/cust_bill_ApplicationCommon.pm
@@
-418,10
+418,10
@@
sub apply_to_lineitems {
foreach my $cust_svc ( $cust_pkg->cust_svc ) {
my $svc_x = $cust_svc->svc_x;
foreach my $cust_svc ( $cust_pkg->cust_svc ) {
my $svc_x = $cust_svc->svc_x;
- my @part_export = grep { $_->can('export_insert_on_payment') }
+ my @part_export = grep { $_->can('
_
export_insert_on_payment') }
$cust_svc->part_svc->part_export;
$cust_svc->part_svc->part_export;
- foreach my $part_export (
$cust_svc->part_svc->
part_export ) {
+ foreach my $part_export (
@
part_export ) {
$error = $part_export->_export_insert_on_payment($svc_x);
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
$error = $part_export->_export_insert_on_payment($svc_x);
if ( $error ) {
$dbh->rollback if $oldAutoCommit;