[freeside-commits] freeside/FS/FS/part_pkg recur_Common.pm, 1.14, 1.15
Ivan,,,
ivan at wavetail.420.am
Tue Dec 20 15:50:21 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv10339/part_pkg
Modified Files:
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.14
retrieving revision 1.15
diff -u -w -d -r1.14 -r1.15
--- recur_Common.pm 24 Oct 2011 22:48:22 -0000 1.14
+++ recur_Common.pm 20 Dec 2011 23:50:19 -0000 1.15
@@ -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