summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-01-24 17:48:49 -0800
committerIvan Kohler <ivan@freeside.biz>2018-01-24 17:48:49 -0800
commit374bd996ca77de6ecfaccea030972f24f76b1d3a (patch)
treec21e0eced445a9b0426c86c8d6732876cefa769d
parent73e26fc882f8e57401e6375ba24e51d32c23463a (diff)
fix billing error with intro rate packages when billing dates have been edited non-sensically (bill date set even though package is not billing yet), RT#78349
-rw-r--r--FS/FS/part_pkg/prorate_Mixin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/prorate_Mixin.pm b/FS/FS/part_pkg/prorate_Mixin.pm
index 5690bbf29..6de30fd78 100644
--- a/FS/FS/part_pkg/prorate_Mixin.pm
+++ b/FS/FS/part_pkg/prorate_Mixin.pm
@@ -204,7 +204,7 @@ sub prorate_setup {
# For some reason (probably user override), the bill date has been set even
# though the package isn't billing yet. Start billing as though that was the
# start date.
- $sdate = $cust_pkg->bill;
+ $$sdate = $cust_pkg->bill;
$cust_pkg->setup($cust_pkg->bill);
}
# Now figure the start and end of the period that contains the start date.