diff options
author | ivan <ivan> | 2010-06-19 18:59:07 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-06-19 18:59:07 +0000 |
commit | 2ea638b67b3e595705300ca55455c91d64d4cc8e (patch) | |
tree | 458997f2febaaa5490a66017f5469422a2321bc2 | |
parent | 21426b9a62d60c511a2a251289b0aa9693263be3 (diff) |
should fix FS::svc_acct=HASH(0xe854058) errors inserting payments, fallout from opensrs on #5825, RT#8853
-rw-r--r-- | FS/FS/cust_bill_ApplicationCommon.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_bill_ApplicationCommon.pm b/FS/FS/cust_bill_ApplicationCommon.pm index fd6fb9e73..770baba73 100644 --- a/FS/FS/cust_bill_ApplicationCommon.pm +++ b/FS/FS/cust_bill_ApplicationCommon.pm @@ -344,10 +344,10 @@ sub apply_to_lineitems { 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; - 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; |