summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg/prorate.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_pkg/prorate.pm')
-rw-r--r--FS/FS/part_pkg/prorate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/prorate.pm b/FS/FS/part_pkg/prorate.pm
index d3df01034..f5d447adf 100644
--- a/FS/FS/part_pkg/prorate.pm
+++ b/FS/FS/part_pkg/prorate.pm
@@ -37,7 +37,7 @@ use FS::part_pkg::flat;
sub calc_recur {
my($self, $cust_pkg, $sdate ) = @_;
- my $cutoff_day = $self->option('cutoff_day') || 1;
+ my $cutoff_day = $self->option('cutoff_day', 1) || 1;
my $mnow = $$sdate;
my ($sec,$min,$hour,$mday,$mon,$year) = (localtime($mnow) )[0,1,2,3,4,5];
my $mend;