[freeside-commits] branch master updated. 98a2c1d79af4c475e8245651a79ded35ce3391dd

Ivan ivan at 420.am
Mon Jul 30 14:50:30 PDT 2012


The branch, master has been updated
       via  98a2c1d79af4c475e8245651a79ded35ce3391dd (commit)
      from  f578e57b593adb9254b2e465c73116a0e0e617b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 98a2c1d79af4c475e8245651a79ded35ce3391dd
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jul 30 14:50:23 2012 -0700

    fix package changes/cancels with credits turned on, for delayed packages, RT#18576

diff --git a/FS/FS/part_pkg/delayed_Mixin.pm b/FS/FS/part_pkg/delayed_Mixin.pm
index d28480d..83e543a 100644
--- a/FS/FS/part_pkg/delayed_Mixin.pm
+++ b/FS/FS/part_pkg/delayed_Mixin.pm
@@ -2,6 +2,7 @@ package FS::part_pkg::delayed_Mixin;
 
 use strict;
 use vars qw(%info);
+use NEXT;
 
 %info = (
   'disabled' => 1,
@@ -45,7 +46,7 @@ sub calc_remain {
                 && $last_bill == $cust_pkg->setup;
   }
 
-  return $self->SUPER::calc_remain($cust_pkg, %options);
+  return $self->NEXT::calc_remain($cust_pkg, %options);
 }
 
 sub can_start_date { ! shift->option('delay_setup', 1) }

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_pkg/delayed_Mixin.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list