[freeside-commits] freeside/FS/FS cust_bill_ApplicationCommon.pm, 1.13.2.2, 1.13.2.3

Ivan,,, ivan at wavetail.420.am
Sat Jun 19 11:59:09 PDT 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv32739

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	cust_bill_ApplicationCommon.pm 
Log Message:
should fix FS::svc_acct=HASH(0xe854058) errors inserting payments, fallout from opensrs on #5825, RT#8853

Index: cust_bill_ApplicationCommon.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill_ApplicationCommon.pm,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -u -w -d -r1.13.2.2 -r1.13.2.3
--- cust_bill_ApplicationCommon.pm	9 Mar 2010 04:41:09 -0000	1.13.2.2
+++ cust_bill_ApplicationCommon.pm	19 Jun 2010 18:59:07 -0000	1.13.2.3
@@ -344,10 +344,10 @@
 
         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;



More information about the freeside-commits mailing list