[freeside-commits] freeside/FS/FS/part_pkg recur_Common.pm, 1.12.2.2, 1.12.2.3
Ivan,,,
ivan at wavetail.420.am
Tue Dec 20 15:50:52 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv10341/part_pkg
Modified Files:
Tag: FREESIDE_2_3_BRANCH
recur_Common.pm
Log Message:
fix 'Can't call method "setup" on an undefined value' error when using into rates together with term discounts, RT#15661
Index: recur_Common.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/recur_Common.pm,v
retrieving revision 1.12.2.2
retrieving revision 1.12.2.3
diff -u -w -d -r1.12.2.2 -r1.12.2.3
--- recur_Common.pm 24 Oct 2011 22:48:29 -0000 1.12.2.2
+++ recur_Common.pm 20 Dec 2011 23:50:50 -0000 1.12.2.3
@@ -60,7 +60,7 @@
my $recur_method = $self->option('recur_method', 1) || 'anniversary';
my $cutoff_day = $self->cutoff_day($cust_pkg);
- $charges = $self->base_recur;
+ $charges = $self->base_recur($cust_pkg);
$charges += $param->{'override_charges'} if $param->{'override_charges'};
if ( $recur_method eq 'prorate' ) {
More information about the freeside-commits
mailing list